-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables-argocd.tf
48 lines (41 loc) · 1.5 KB
/
variables-argocd.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
# File auto-generated by ./bin/make-example-vars
#### ArgoCD #####
#################
variable "argocd_repository" {
description = "Argo CD chart repository."
type = string
default = "https://argoproj.github.io/argo-helm"
}
variable "argocd_version" {
description = "Argo CD version."
type = string
default = "5.54.0"
}
variable "argocd_namespace" {
description = "Argo CD namespace."
type = string
default = "argocd"
}
variable "argocd_values" {
description = "Path to argocd values file. Start it with / for absolute path or ./ to relative to root module. Set it to empty string to ignore."
type = string
default = ""
}
variable "argocd_set" {
description = "Value block with custom values to be merged with the values yaml."
type = list(object({ name = string, value = string }))
default = [
{ "name" : "redis-ha.enabled", "value" : "false" },
{ "name" : "controller.replicas", "value" : "1" },
{ "name" : "server.autoscaling.enabled", "value" : "true" },
{ "name" : "server.autoscaling.minReplicas", "value" : "1" },
{ "name" : "repoServer.autoscaling.enabled", "value" : "true" },
{ "name" : "repoServer.autoscaling.minReplicas", "value" : "1" },
{ "name" : "applicationSet.replicas", "value" : "1" },
]
}
variable "argocd_set_list" {
description = "Value block with list of custom values to be merged with the values yaml."
type = list(object({ name = string, value = list(string) }))
default = []
}