-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvars.tf
121 lines (101 loc) · 3.57 KB
/
vars.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
variable "project_id" {
description = "ID of the Google Cloud Project to work within."
}
variable "region" {
description = "The preferred Region in which to launch the resources outlined in this template."
default = "us-east1"
}
variable "zone" {
description = "The preferred Zone into which the GKE cluster will be created"
default = "useast1-b"
}
variable "cluster_name" {
description = "Cluster name for the GKE cluster"
default = "gke-s1-demo"
}
variable "node_count" {
description = "Number of worker nodes for the cluster."
default = "2"
}
###################################
# variable "kubernetes_version" {
# description = "The version of Kuberentes to use."
# default = "1.20.9"
# }
variable "machine_type" {
description = "Compute Engine Machine Type to use for the K8s worker nodes."
default = "n2-standard-2"
}
variable "s1_repository_pull_secret_name" {
description = "This is the NAME of the K8s secret that stores your credentials used to authenticate to your container image repository (where the s1-agent and s1-helper container images are stored.)"
default = "s1-repo-pull-secret"
}
variable "s1_helper_image_repository" {
description = "The image/package repository where the s1_helper image is located."
}
variable "s1_helper_image_tag" {
description = "Tag name (version) of the s1_helper image we want to use"
default = "ga-21.7.3"
}
variable "s1_agent_image_repository" {
description = "The image/package repository where the s1_agent image is located."
}
variable "s1_agent_image_tag" {
description = "Tag name (version) of the s1_agent image we want to use"
default = "ga-21.7.3"
}
variable "helm_chart_version" {
description = "The version of the s1-agent chart to use"
}
variable "s1_site_key" {
description = "The Sentinel One Site Key that the K8s agent will use when communicating with the S1 portal."
}
variable "s1_namespace" {
description = "K8s namespace into which we will place the S1 K8s agent(s)"
default = "s1"
}
variable "docker_server" {
description = "Base Repo that houses the S1 container images"
}
variable "docker_username" {
description = "Username/ID to access the package/image repository (where the s1-agent and s1-helper images are housed)."
}
variable "docker_password" {
description = "Password to access the package/image repository (where the s1-agent and s1-helper images are housed)."
}
variable "helm_release_name" {
description = "Helm Releaes Name to use for the Helm deployment"
default = "s1"
}
variable "agent_resources_limits_cpu" {
description = "CPU Limit to be applied to the s1-agent pod."
default = "900m"
}
variable "agent_resources_limits_memory" {
description = "Memory Limit to be applied to the s1-agent pod."
default = "1.9Gi"
}
variable "helper_resources_limits_cpu" {
description = "CPU Limit to be applied to the s1-helper pod."
default = "900m"
}
variable "helper_resources_limits_memory" {
description = "Memory Limit to be applied to the s1-helper pod."
default = "1.9Gi"
}
variable "agent_resources_requests_cpu" {
description = "CPU Request to be applied to the s1-agent pod."
default = "100m"
}
variable "agent_resources_requests_memory" {
description = "Memory Request to be applied to the s1-agent pod."
default = "100Mi"
}
variable "helper_resources_requests_cpu" {
description = "CPU Request to be applied to the s1-helper pod."
default = "100m"
}
variable "helper_resources_requests_memory" {
description = "Memory Request to be applied to the s1-helper pod."
default = "100Mi"
}