-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathvariables.tf
132 lines (117 loc) · 3.16 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
variable "name" {
type = string
description = "Name of helm release"
default = "ingress-nginx"
}
variable "namespace" {
type = string
description = "Name of namespace where nginx controller should be deployed"
default = "kube-system"
}
variable "chart_version" {
type = string
description = "HELM Chart Version for nginx controller"
default = "4.5.2"
}
variable "atomic" {
type = bool
description = "If set, installation process purges chart on fail"
default = false
}
variable "ingress_class_name" {
type = string
description = "IngressClass resource name"
default = "nginx"
}
variable "ingress_class_is_default" {
type = bool
description = "IngressClass resource default for cluster"
default = true
}
variable "ip_address" {
type = string
description = "External Static Address for loadbalancer (Doesn't work with AWS)"
default = null
}
variable "controller_kind" {
type = string
description = "Controller type: DaemonSet, Deployment etc.."
default = "DaemonSet"
}
variable "controller_daemonset_useHostPort" {
type = bool
description = "Also use host ports(80,443) for pods. Node Ports in services will be untouched"
default = false
}
variable "controller_service_externalTrafficPolicy" {
type = string
description = "Traffic policy for controller. See docs."
default = "Local"
}
variable "controller_request_memory" {
type = number
description = "Memory request for pod. Value in MB"
default = 140
}
variable "publish_service" {
type = bool
description = "Publish LoadBalancer endpoint to Service"
default = true
}
variable "define_nodePorts" {
type = bool
description = "By default service using NodePorts. It can be generated automatically, or you can assign this ports number"
default = false
}
variable "service_nodePort_http" {
type = string
description = "NodePort number for http"
default = "32001"
}
variable "service_nodePort_https" {
type = string
description = "NodePort number for https"
default = "32002"
}
variable "metrics_enabled" {
type = bool
description = "Allow exposing metrics for prometheus-operator"
default = false
}
variable "disable_heavyweight_metrics" {
type = bool
description = "Disable some 'heavyweight' or unnecessary metrics"
default = false
}
variable "create_namespace" {
type = bool
description = "Create a namespace"
default = false
}
variable "additional_set" {
description = "Optional set for additional helm settings"
default = []
/* type = set(
object(
{
name = string
value = string
type = optional(string)
}
)
)*/
}
variable "additional_set_list" {
description = "Optional set_list for additional helm settings"
default = []
}
variable "wait" {
description = "Will wait until all resources are in a ready state"
type = bool
default = true
}
variable "timeout" {
type = number
description = "Time in seconds to wait for any individual kubernetes operation"
default = 300
}