-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
137 lines (112 loc) · 3.71 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
variable "ziti_controller_release" {
description = "name of Helm release for OpenZiti Controller on which to build conventional resource names"
}
variable "ziti_namespace" {
default = "ziti"
description = "K8s namespace where OpenZiti Controller is installed"
}
variable "create_namespace" {
default = true
description = "create the namespace if it doesn't exist"
}
variable "ziti_charts" {
description = "Filesystem path to source OpenZiti Helm Charts instead of Helm repo"
type = string
default = ""
}
variable "dns_zone" {
description = "The domain name zone to maintain in Linode, e.g., ziti.example.com. (required)"
}
variable "ctrl_domain_name" {
description = "The subdomain name to use for Ziti router Ctrl Plane"
default = "ctrl" # wildcard DNS record resolves all names to the Nodebalancer
}
variable "ctrl_port" {
description = "Ziti ctrl plane port for routers that's provided by the Ziti controller"
default = 443
}
variable "client_domain_name" {
description = "The subdomain name to use for Ziti Edge Client API"
default = "client" # wildcard DNS record resolves all names to the Nodebalancer
}
variable "client_port" {
description = "Ziti Edge client API port for SDK enrollment, auth, discovery"
default = 443
}
variable "mgmt_ingress_enabled" {
description = "enable ingress for the Ziti Edge Management API"
default = true
type = bool
}
variable "mgmt_domain_name" {
description = "The subdomain name to use for Ziti Edge Management API. This is identical to Client API if the Management API cluster service is disabled."
default = "management"
}
variable "mgmt_port" {
description = "Ziti Edge mgmt API port used by ziti CLI and console"
default = 443
}
variable "ingress_class" {
description = "ingress class name to trigger ingress controller"
default = "nginx"
}
variable "install" {
description = "install OpenZiti Controller Helm Chart unless false"
default = true
}
variable "mgmt_dns_san" {
description = "DNS Subject Alternative Name for the Managment API facilitates exposing this service with an OpenZiti intercept address."
default = "mgmt.ziti"
}
variable "storage_class" {
description = "storage class to fulfill this controller's persistent volume claim"
default = "-"
}
variable "ingress_annotations" {
description = "annotations on the router's ingress resource to trigger ingress-nginx controller"
default = {
"kubernetes.io/ingress.allow-http" = "false"
"nginx.ingress.kubernetes.io/ssl-passthrough" = "true"
"nginx.ingress.kubernetes.io/secure-backends" = "true"
}
}
variable "prometheus_enabled" {
description = "enable Prometheus metrics collection"
default = "true"
type = string
}
variable "image_repo" {
description = "debug value for alternative container image repo"
default = "openziti/ziti-controller"
}
variable "image_tag" {
description = "debug value for container image tag"
default = ""
}
variable "values" {
description = "additional Helm chart values override any other values"
default = {}
}
variable "chart_version" {
description = "Helm chart version"
default = "~> 0.4"
}
variable "chart_repo" {
description = "Helm chart repository"
default = "https://openziti.github.io/helm-charts"
}
variable "helm_release_wait" {
description = "wait for Helm release to be ready"
default = true
type = bool
}
variable "helm_release_wait_for_jobs" {
description = "wait for Helm release jobs to complete"
default = true
type = bool
}
variable "helm_release_timeout" {
description = "timeout for Helm release to be ready"
default = 600
type = number
}