-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
71 lines (58 loc) · 1.98 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
variable "name" {
description = "unique name of this edge router"
}
variable "edge_advertised_host" {
description = "optional DNS name advertised to edge clients that they use to reach this router's edge listener"
default = ""
}
variable "transport_advertised_host" {
description = "optional DNS name advertised to other routers that they use to reach this router's transport link listener"
default = ""
}
variable "ctrl_endpoint" {
description = "the host:port pair this router should use to contact the controller"
}
variable "namespace" {
description = "Kubernetes namespace in which to place this router"
default = "ziti"
}
variable "ziti_charts" {
description = "alternative filesystem path to find OpenZiti Helm Charts"
}
variable "storage_class" {
description = "storage class to fulfill this router's persistent volume claim"
default = "-"
}
variable "router_properties" {
description = "declared map of router properties overrides defaults except name"
}
variable "values" {
description = "additional values to merge with the Helm chart overrides any that conflict"
default = {}
}
variable "default_router_properties" {
description = "default properties for the router created by this module"
default = {
isTunnelerEnabled = true
}
}
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 "image_repo" {
description = "debug value for alternative container image repo"
default = "openziti/ziti-router"
}
variable "image_tag" {
description = "debug value for container image tag"
default = ""
}
variable "image_pull_policy" {
description = "debug value for container image pull policy"
default = "IfNotPresent"
}