forked from cookielab/terraform-kubernetes-dashboard
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
122 lines (103 loc) · 2.65 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
variable "kubernetes_namespace" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes namespace to deploy kubernetes dashboard controller."
}
variable "kubernetes_namespace_create" {
type = bool
default = true
description = "Do you want to create kubernetes namespace?"
}
variable "kubernetes_resources_name_prefix" {
type = string
default = ""
description = "Prefix for kubernetes resources name. For example `tf-module-`"
}
variable "kubernetes_resources_labels" {
type = map(string)
default = {}
description = "Additional labels for kubernetes resources."
}
variable "kubernetes_deployment_image_registry" {
type = string
default = "kubernetesui/dashboard"
}
variable "kubernetes_deployment_image_tag" {
type = string
default = "v2.0.0-rc6"
}
variable "kubernetes_deployment_metrics_scraper_image_registry" {
type = string
default = "kubernetesui/metrics-scraper"
}
variable "kubernetes_deployment_metrics_scraper_image_tag" {
type = string
default = "v1.0.3"
}
variable "kubernetes_deployment_node_selector" {
type = map(string)
default = {
"beta.kubernetes.io/os" = "linux"
}
description = "Node selectors for kubernetes deployment"
}
variable "kubernetes_deployment_tolerations" {
type = list(object({
key = string
operator = string
value = string
effect = string
}))
default = [
{
key = "node-role.kubernetes.io/master"
operator = "Equal"
value = ""
effect = "NoSchedule"
}
]
}
variable "kubernetes_service_account_name" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes service account name."
}
variable "kubernetes_secret_certs_name" {
type = string
default = "kubernetes-dashboard-certs"
description = "Kubernetes secret certs name."
}
variable "kubernetes_role_name" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes role name."
}
variable "kubernetes_role_binding_name" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes role binding name."
}
variable "kubernetes_deployment_name" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes deployment name."
}
variable "kubernetes_service_name" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes service name."
}
variable "kubernetes_service_type" {
type = string
default = "ClusterIP"
description = "Kubernetes service type"
}
variable "kubernetes_ingress_name" {
type = string
default = "kubernetes-dashboard"
description = "Kubernetes ingress name."
}
variable "kubernetes_dashboard_csrf" {
type = string
description = "CSRF token"
}