-
Notifications
You must be signed in to change notification settings - Fork 10
/
variables.tf
118 lines (100 loc) · 2.77 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
variable "instance" {
description = "Instance name to add for multiple deployments"
type = string
default = "default"
}
variable "namespace" {
description = "Kubernetes namespace"
type = string
default = "default"
}
variable "replicas" {
description = "Number of cluster nodes. Recommended value is the one which equals number of kubernetes nodes"
type = number
default = 3
}
variable "user_id" {
description = "Unix UID to apply to persistent volume"
type = number
default = 999
}
variable "group_id" {
description = "Unix GID to apply to persistent volume"
type = number
default = 999
}
variable "additional_plugins" {
description = "List of plugins to enable on start up"
type = list(string)
default = []
}
variable "cluster_domain" {
description = "Due to a bug, resolv.conf is currently missing a crucial record https://github.com/kubernetes/kubernetes/issues/42544"
type = string
default = "cluster.local"
}
variable "image_name" {
description = "Container image name including registry address. For images from Docker Hub short names can be used"
type = string
default = "rabbitmq"
}
variable "image_tag" {
description = "Container image tag (version)"
type = string
default = "3.8.9-alpine"
}
variable "image_pull_secrets" {
description = "List of image pull secrets to use with private registries"
type = list(string)
default = []
}
variable "image_pull_policy" {
description = "Image pull policy. One of Always, Never or IfNotPresent"
type = string
default = "IfNotPresent"
}
variable "pod_management_policy" {
description = "OrderedReady or Parallel"
type = string
default = "OrderedReady"
}
variable "statefulset_annotations" {
description = "Annotations to apply to StatefulSet"
type = map(string)
default = null
}
variable "service_annotations" {
description = "Annotation to apply to Service"
type = map(string)
default = null
}
variable "configmap_annotations" {
description = "Annotation to apply to ConfigMap"
type = map(string)
default = null
}
variable "secret_annotations" {
description = "Annotation to apply to Secret"
type = map(string)
default = null
}
variable "ingress_annotations" {
description = "Annotations to apply to Ingress"
type = map(string)
default = null
}
variable "ingress_hosts" {
description = "Controls whether or not ingress resource must be created"
type = list(object(
{
host = string
path = string
}
))
default = []
}
variable "extra_labels" {
description = "Any extra labels to apply to all resources"
type = map(string)
default = {}
}