-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
175 lines (143 loc) · 2.95 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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
variable "minio_region" {
description = "Default MINIO region"
default = "eu-central-1"
type = string
}
variable "minio_ssl" {
description = "MINIO SSL"
default = false
type = bool
}
variable "minio_server" {
description = "Default MINIO host and port"
type = string
default = false
}
variable "minio_user" {
description = "MINIO user"
type = string
}
variable "minio_password" {
description = "MINIO password"
type = string
}
#####################################
### VARIABLES FOR BUCKET CREATION ###
#####################################
variable "buckets" {
type = list(object({
name = string
acl = string
}))
default = []
description = "A list of bucket"
}
###################################
### VARIABLES FOR USER CREATION ###
###################################
variable "users" {
type = list(object({
name = string
secret = string
policy = string
}))
default = []
description = "A list of new users"
}
#####################################
### VARIABLES FOR POLICY CREATION ###
#####################################
variable "new_policy" {
type = list(object({
name = string
policy = string
}))
description = "Policy for creation"
default = []
}
##########################################
### VARIABLES FOR MINIO K8S DEPLOYMENT ###
##########################################
variable "ingress_class" {
type = string
default = "nginx"
}
variable "enable_tls" {
type = bool
default = true
}
variable "enable_deployment" {
type = bool
default = false
}
variable "minio_image_repository" {
type = string
default = "stuttgart-things/sthings-minio"
}
variable "minio_image_tag" {
type = string
default = "13.3.3"
}
variable "minio_image_registry" {
type = string
default = "eu.gcr.io"
}
variable "helm_chart" {
type = string
default = "minio"
}
variable "helm_chart_version" {
type = string
default = "13.3.3"
}
variable "helm_repository" {
type = string
default = "https://charts.bitnami.com/bitnami"
}
variable "kube_config" {
type = string
default = "~/.kube/config"
}
variable "create_namespace" {
type = bool
default = true
}
variable "namespace" {
type = string
default = "minio"
}
variable "helm_release_name" {
type = string
default = "minio"
}
variable "enable_storage" {
type = bool
default = true
}
variable "storage_class" {
type = string
default = false
}
variable "ingress_hostname_api" {
type = string
default = false
}
variable "ingress_hostname_console" {
type = string
default = false
}
variable "ingress_domain" {
type = string
default = false
}
#########################################
### EXTRA VARIABLES FOR CERT CREATION ###
#########################################
variable "create_cert" {
type = bool
default = false
}
variable "cluster_issuer" {
type = string
default = ""
}