-
Notifications
You must be signed in to change notification settings - Fork 3
/
variables.tf
143 lines (120 loc) · 3.63 KB
/
variables.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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
variable "create_namespace" {
type = bool
description = "create the namespace resource or not"
default = true
}
variable "namespace_name" {
type = string
description = "name of the namespace"
default = "linkerd"
}
variable "controller_image" {
type = string
description = "docker image name for the controller"
default = "gcr.io/linkerd-io/controller"
}
variable "controller_image_tag" {
type = string
description = "docker image tag for the controller"
default = "stable-2.8.1"
}
variable "proxy_init_image" {
type = string
description = "docker image name for the proxy_init"
default = "gcr.io/linkerd-io/proxy-init"
}
variable "proxy_init_image_tag" {
type = string
description = "docker image tag for the proxy_init"
default = "v1.3.3"
}
variable "proxy_image" {
type = string
description = "docker image name for the proxy"
default = "gcr.io/linkerd-io/proxy"
}
variable "proxy_image_tag" {
type = string
description = "docker image tag for the proxy"
default = "stable-2.8.1"
}
variable "container_log_level" {
type = string
description = "container log level"
default = "info"
}
variable "trust_domain" {
type = string
description = "trust domain for TLS certificates"
default = "cluster.local"
}
variable "automount_service_account_token" {
type = bool
description = "Enable automatic mounting of the service account token"
default = true
}
variable "high_availability" {
type = bool
description = "Enable high availability"
default = false
}
variable "controlplane_ha_replicas" {
type = number
description = "amount of replicas for the controlplane components when High Availability is enabled"
default = 3
}
variable "proxy_injector_pem" {
type = string
description = "custom proxy injector pem file. See example file in certs folder on how to pass it as string"
default = ""
}
variable "sp_validator_pem" {
type = string
description = "custom sp validator pem file. See example file in certs folder on how to pass it as string"
default = ""
}
variable "external_identity_issuer" {
type = bool
description = "Use true in Production! If left to false, it will use the certificates coming with this module. For more information: https://linkerd.io/2/tasks/automatically-rotating-control-plane-tls-credentials/"
default = false
}
variable "trust_anchors_pem_value" {
type = string
description = "PEM value used as trust anchors"
default = ""
}
variable "web_replicas" {
type = number
description = "number of replicas for web component"
default = 1
}
variable "enable_web_ingress" {
type = bool
description = "enable the ingress object for the web component"
default = false
}
variable "web_ingress_annotations" {
type = map(string)
description = "eventual ingress annotations for the ingress-controller"
default = {}
}
variable "web_ingress_host" {
type = string
description = "host name for the web component"
default = ""
}
variable "grafana_replicas" {
type = number
description = "number of replicas for grafana component"
default = 1
}
variable "prometheus_replicas" {
type = number
description = "number of replicas for prometheus component"
default = 1
}
variable "module_depends_on" {
type = any
description = "Variable to pass dependancy on external module" # https://discuss.hashicorp.com/t/tips-howto-implement-module-depends-on-emulation/2305/2
default = null
}