generated from cloud-native-toolkit/template-terraform-gitops
/
variables.tf
171 lines (151 loc) · 3.74 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
variable "gitops_config" {
type = object({
boostrap = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
})
infrastructure = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
payload = object({
repo = string
url = string
path = string
})
})
services = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
payload = object({
repo = string
url = string
path = string
})
})
applications = object({
argocd-config = object({
project = string
repo = string
url = string
path = string
})
payload = object({
repo = string
url = string
path = string
})
})
})
description = "Config information regarding the gitops repo structure"
}
variable "git_credentials" {
type = list(object({
repo = string
url = string
username = string
token = string
}))
description = "The credentials for the gitops repo(s)"
sensitive = true
}
variable "namespace" {
type = string
description = "The namespace where the application should be deployed"
}
variable "kubeseal_cert" {
type = string
description = "The certificate/public key used to encrypt the sealed secrets"
default = ""
}
variable "server_name" {
type = string
description = "The name of the server"
default = "default"
}
variable "channel" {
type = string
description = "Channel number for subscription"
default = "v1.5"
}
variable "catalog" {
type = string
description = "The catalog source that should be used to deploy the operator"
default = "ibm-operator-catalog"
}
variable "catalog_namespace" {
type = string
description = "The namespace where the catalog has been deployed"
default = "openshift-marketplace"
}
variable "dpInstanceName" {
type = string
description = "The name of the DataPower instance"
default = "dp"
}
variable "dpWebuiConfigMap" {
type = string
description = "The name of the Config map to enable WebUI"
default = "dp-webui-config"
}
variable "dpLicense" {
type = string
description = "License string to use"
default = "L-RJON-CCCP46"
}
variable "dpLicenseUse" {
type = string
description = "License use - Prod, Non Production etc"
default = "nonproduction"
}
variable "memoryLimits" {
type = string
description = "Memory limit for DP containers"
default = "4Gi"
}
variable "memoryRequests" {
type = string
description = "Memory requests for DP containers"
default = "4Gi"
}
variable "cpuRequests" {
type = string
description = "CPU requests for DP containers"
default = "1"
}
variable "passwordSecret" {
type = string
description = "Secret which stores the Admin password. This secret is automatically created."
default = "dp-credentials"
}
variable "dpReleaseVersion" {
type = string
description = "Release version for DataPower"
default = "10.0-cd"
}
variable "replicas" {
type = number
description = "Number of replicas for DataPower. Choose 1, 3, or 5"
default = 1
}
variable "subscription_namespace" {
type = string
description = "The namespace where the application should be deployed"
default = "openshift-operators"
}
variable "entitlement_key" {
type = string
description = "The entitlement key required to access Cloud Pak images"
sensitive = true
}