-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables-configuration.tf
131 lines (125 loc) · 3.16 KB
/
variables-configuration.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
######################################
## ArgoCD Repo Server Configuration ##
######################################
variable "argocd_repo_replicas" {
type = number
description = ""
default = 1
}
variable "argocd_repo_requests" {
type = object({
cpu : string
memory : string
})
description = ""
default = {
cpu = "100m"
memory = "64Mi"
}
}
variable "argocd_repo_limits" {
type = object({
cpu : string
memory : string
})
description = ""
default = {
cpu = "200m"
memory = "128Mi"
}
}
variable "repo_server_exec_timeout" {
type = string
description = ""
default = "300s"
}
#####################################
## ArgoCD App Server Configuration ##
#####################################
variable "argocd_server_replicas" {
type = number
default = 1
}
variable "argocd_server_requests" {
type = object({
cpu : string
memory : string
})
description = ""
default = {
cpu = "200m"
memory = "128Mi"
}
}
variable "argocd_server_limits" {
type = object({
cpu : string
memory : string
})
description = ""
default = {
cpu = "400m"
memory = "256Mi"
}
}
variable "oidc_config" {
type = object({
name : string,
issuer : string,
client_id : string,
client_secret : string,
requested_scopes : list(string),
requested_id_token_claims : map(any)
})
description = "OIDC authorization provider settings. For more information please refer to: https://argoproj.github.io/argo-cd/operator-manual/user-management/#existing-oidc-provider"
default = null
}
variable "oidc_group_claim" {
type = string
description = "The name of the claim that contains the list of groups a user belongs to"
default = null
}
variable "enable_status_badge" {
type = bool
description = "Enables application status badge feature"
default = false
}
variable "enable_anonymous_access" {
type = bool
description = "Enables anonymous user access. The anonymous users get default role permissions specified argocd-rbac-cm.yaml."
default = false
}
variable "help_chat_url" {
type = string
description = "The URL for getting chat help, this will typically be your Slack channel for support"
default = ""
}
variable "helm_chat_text" {
type = string
description = "The text for getting chat help"
default = "Chat now!"
}
variable "repository_credentials" {
type = list(map(any))
description = "A list of git repositories that ArgoCD will be configured to use."
default = []
}
variable "argocd_git_repositories" {
type = list(map(any))
description = "A list of credentials that ArgoCD will use when pulling from configured repositories."
default = []
}
variable "argocd_repositories" {
type = list(map(any))
description = "A list of repositories that ArgoCD might pull from."
default = []
}
variable "argocd_repository_credentials" {
type = list(map(any))
description = "A list of repositories that ArgoCD might pull from."
default = []
}
variable "pod_affinity_topology_key" {
type = string
default = "topology.kubernetes.io/zone"
}