forked from IBM/automation-turbonomic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
231 lines (231 loc) · 7.55 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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
variable "config_banner_background_color" {
type = string
description = "The background color of the top banner. This value can be a named color (e.g. purple, red) or an RGB value (#FF0000)."
default = "purple"
}
variable "config_banner_text_color" {
type = string
description = "The text color for the top banner. This value can be a named color (e.g. purple, red) or an RGB value (#FF0000)."
default = "white"
}
variable "config_banner_text" {
type = string
description = "The text that will appear in the top banner in the cluster"
}
variable "server_url" {
type = string
description = "The url for the OpenShift api"
}
variable "cluster_login_user" {
type = string
description = "Username for login"
default = ""
}
variable "cluster_login_password" {
type = string
description = "Password for login"
default = ""
}
variable "cluster_login_token" {
type = string
description = "Token used for authentication"
}
variable "cluster_skip" {
type = bool
description = "Flag indicating that the cluster login has already been performed"
default = false
}
variable "cluster_cluster_version" {
type = string
description = "[Deprecated] The version of the cluster (passed through to the output)"
default = ""
}
variable "cluster_ingress_subdomain" {
type = string
description = "[Deprecated] The ingress subdomain of the cluster (passed through to the output)"
default = ""
}
variable "cluster_tls_secret_name" {
type = string
description = "[Deprecated] The name of the secret containing the tls certificates for the ingress subdomain (passed through to the output)"
default = ""
}
variable "cluster_ca_cert" {
type = string
description = "The base64 encoded ca certificate"
default = ""
}
variable "cluster_ca_cert_file" {
type = string
description = "The path to the file that contains the ca certificate"
default = ""
}
variable "gitea_namespace_name" {
type = string
description = "The namespace that should be created"
default = "gitea"
}
variable "gitea_namespace_create_operator_group" {
type = bool
description = "Flag indicating that an operator group should be created in the namespace"
default = true
}
variable "gitea_instance_name" {
type = string
description = "The name for the instance"
default = "gitea"
}
variable "gitea_username" {
type = string
description = "The username for the instance"
default = "gitea-admin"
}
variable "gitea_password" {
type = string
description = "The password for the instance"
default = ""
}
variable "gitea_ca_cert_file" {
type = string
description = "The path to the file that contains the ca certificate"
default = ""
}
variable "gitops_repo_host" {
type = string
description = "The host for the git repository. The git host used can be a GitHub, GitHub Enterprise, Gitlab, Bitbucket, Gitea or Azure DevOps server. If the host is null assumes in-cluster Gitea instance will be used."
default = ""
}
variable "gitops_repo_type" {
type = string
description = "[Deprecated] The type of the hosted git repository."
default = ""
}
variable "gitops_repo_org" {
type = string
description = "The org/group where the git repository exists/will be provisioned. If the value is left blank then the username org will be used."
default = ""
}
variable "gitops_repo_project" {
type = string
description = "The project that will be used for the git repo. (Primarily used for Azure DevOps repos)"
default = ""
}
variable "gitops_repo_username" {
type = string
description = "The username of the user with access to the repository"
default = ""
}
variable "gitops_repo_token" {
type = string
description = "The personal access token used to access the repository"
default = ""
}
variable "gitops_repo_repo" {
type = string
description = "The short name of the repository (i.e. the part after the org/group name)"
}
variable "gitops_repo_branch" {
type = string
description = "The name of the branch that will be used. If the repo already exists (provision=false) then it is assumed this branch already exists as well"
default = "main"
}
variable "gitops_repo_public" {
type = bool
description = "Flag indicating that the repo should be public or private"
default = false
}
variable "gitops_repo_gitops_namespace" {
type = string
description = "The namespace where ArgoCD is running in the cluster"
default = "openshift-gitops"
}
variable "gitops_repo_server_name" {
type = string
description = "The name of the cluster that will be configured via gitops. This is used to separate the config by cluster"
default = "default"
}
variable "gitops_repo_strict" {
type = bool
description = "Flag indicating that an error should be thrown if the repo already exists"
default = false
}
variable "debug" {
type = bool
description = "Flag indicating that debug loggging should be enabled"
default = false
}
variable "argocd-bootstrap_bootstrap_prefix" {
type = string
description = "The prefix used in ArgoCD to bootstrap the application"
default = ""
}
variable "argocd-bootstrap_create_webhook" {
type = bool
description = "Flag indicating that a webhook should be created in the gitops repo to notify argocd of changes"
default = true
}
variable "gitops-console-link-job_cluster_ingress_hostname" {
type = string
description = "Ingress hostname of the IKS cluster."
default = ""
}
variable "gitops-console-link-job_cluster_type" {
type = string
description = "The cluster type (openshift or ocp3 or ocp4 or kubernetes)"
default = "ocp4"
}
variable "gitops-console-link-job_tls_secret_name" {
type = string
description = "The name of the secret containing the tls certificate values"
default = ""
}
variable "toolkit_namespace_name" {
type = string
description = "The value that should be used for the namespace"
default = "toolkit"
}
variable "toolkit_namespace_ci" {
type = bool
description = "Flag indicating that this namespace will be used for development (e.g. configmaps and secrets)"
default = false
}
variable "toolkit_namespace_create_operator_group" {
type = bool
description = "Flag indicating that an operator group should be created in the namespace"
default = true
}
variable "toolkit_namespace_argocd_namespace" {
type = string
description = "The namespace where argocd has been deployed"
default = "openshift-gitops"
}
variable "util-clis_bin_dir" {
type = string
description = "The directory where the clis should be downloaded. If not provided will default to ./bin"
default = ""
}
variable "util-clis_clis" {
type = string
description = "The list of clis that should be made available in the bin directory. Supported values are yq, jq, igc, helm, argocd, rosa, gh, glab, and kubeseal. (If not provided the list will default to yq, jq, and igc)"
default = "[\"yq\",\"jq\",\"igc\"]"
}
variable "sealed-secret-cert_cert" {
type = string
description = "The public key that will be used to encrypt sealed secrets. If not provided, a new one will be generated"
default = ""
}
variable "sealed-secret-cert_private_key" {
type = string
description = "The private key that will be used to decrypt sealed secrets. If not provided, a new one will be generated"
default = ""
}
variable "sealed-secret-cert_cert_file" {
type = string
description = "The file containing the public key that will be used to encrypt the sealed secrets. If not provided a new public key will be generated"
default = ""
}
variable "sealed-secret-cert_private_key_file" {
type = string
description = "The file containin the private key that will be used to encrypt the sealed secrets. If not provided a new private key will be generated"
default = ""
}