forked from argoproj-labs/argocd-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defaults.go
333 lines (239 loc) · 18.2 KB
/
defaults.go
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
// Copyright 2020 ArgoCD Operator Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package common
const (
// ArgoCDApplicationControllerComponent is the name of the application controller control plane component
ArgoCDApplicationControllerComponent = "argocd-application-controller"
// ArgoCDApplicationControllerDefaultShardReplicas is the default number of replicas that the ArgoCD Application Controller Should Use
ArgocdApplicationControllerDefaultReplicas = 1
// ArgoCDDefaultLogLevel is the default log level to be used by all ArgoCD components.
ArgoCDDefaultLogLevel = "info"
// ArgoCDDefaultLogFormat is the default log format to be used by all ArgoCD components.
ArgoCDDefaultLogFormat = "text"
// ArgoCDServerComponent is the name of the Dex server control plane component
ArgoCDServerComponent = "argocd-server"
// ArgoCDRedisComponent is the name of the Redis control plane component
ArgoCDRedisComponent = "argocd-redis"
// ArgoCDRedisHAComponent is the name of the Redis HA control plane component
ArgoCDRedisHAComponent = "argocd-redis-ha"
// ArgoCDDexServerComponent is the name of the Dex server control plane component
ArgoCDDexServerComponent = "argocd-dex-server"
// ArgoCDNotificationsControllerComponent is the name of the Notifications controller control plane component
ArgoCDNotificationsControllerComponent = "argocd-notifications-controller"
// ArgoCDOperatorGrafanaComponent is the name of the Grafana control plane component
ArgoCDOperatorGrafanaComponent = "argocd-grafana"
// ArgoCDDefaultAdminPasswordLength is the length of the generated default admin password.
ArgoCDDefaultAdminPasswordLength = 32
// ArgoCDDefaultAdminPasswordNumDigits is the number of digits to use for the generated default admin password.
ArgoCDDefaultAdminPasswordNumDigits = 5
// ArgoCDDefaultAdminPasswordNumSymbols is the number of symbols to use for the generated default admin password.
ArgoCDDefaultAdminPasswordNumSymbols = 0
// ArgoCDDefaultApplicationInstanceLabelKey is the default app name as a tracking label.
ArgoCDDefaultApplicationInstanceLabelKey = "app.kubernetes.io/instance"
// ArgoCDDefaultArgoImage is the ArgoCD container image to use when not specified.
ArgoCDDefaultArgoImage = "quay.io/argoproj/argocd"
// ArgoCDDefaultArgoVersion is the Argo CD container image digest to use when version not specified.
ArgoCDDefaultArgoVersion = "sha256:b0df6dc907f85a54ffb320264c6ab642b778eacea6f92ceae203322ba4cf149e" // v2.9.5
// ArgoCDDefaultBackupKeyLength is the length of the generated default backup key.
ArgoCDDefaultBackupKeyLength = 32
// ArgoCDDefaultBackupKeyNumDigits is the number of digits to use for the generated default backup key.
ArgoCDDefaultBackupKeyNumDigits = 5
// ArgoCDDefaultBackupKeyNumSymbols is the number of symbols to use for the generated default backup key.
ArgoCDDefaultBackupKeyNumSymbols = 5
// ArgoCDDefaultConfigManagementPlugins is the default configuration value for the config management plugins.
ArgoCDDefaultConfigManagementPlugins = ""
// ArgoCDDefaultControllerResourceLimitCPU is the default CPU limit when not specified for the Argo CD application
// controller contianer.
ArgoCDDefaultControllerResourceLimitCPU = "1000m"
// ArgoCDDefaultControllerResourceLimitMemory is the default memory limit when not specified for the Argo CD
// application controller contianer.
ArgoCDDefaultControllerResourceLimitMemory = "64Mi"
// ArgoCDDefaultControllerResourceRequestCPU is the default CPU requested when not specified for the Argo CD
// application controller contianer.
ArgoCDDefaultControllerResourceRequestCPU = "250m"
// ArgoCDDefaultControllerResourceRequestMemory is the default memory requested when not specified for the Argo CD
// application controller contianer.
ArgoCDDefaultControllerResourceRequestMemory = "32Mi"
// ArgoCDDefaultDexConfig is the default dex configuration.
ArgoCDDefaultDexConfig = ""
// ArgoCDDefaultDexImage is the Dex container image to use when not specified.
ArgoCDDefaultDexImage = "ghcr.io/dexidp/dex"
// ArgoCDDefaultDexOAuthRedirectPath is the default path to use for the OAuth Redirect URI.
ArgoCDDefaultDexOAuthRedirectPath = "/api/dex/callback"
// ArgoCDDefaultDexGRPCPort is the default GRPC listen port for Dex.
ArgoCDDefaultDexGRPCPort = 5557
// ArgoCDDefaultDexHTTPPort is the default HTTP listen port for Dex.
ArgoCDDefaultDexHTTPPort = 5556
// ArgoCDDefaultDexMetricsPort is the default Metrics listen port for Dex.
ArgoCDDefaultDexMetricsPort = 5558
// ArgoCDDefaultDexServiceAccountName is the default Service Account name for the Dex server.
ArgoCDDefaultDexServiceAccountName = "argocd-dex-server"
// ArgoCDDefaultDexVersion is the Dex container image tag to use when not specified.
ArgoCDDefaultDexVersion = "sha256:d5f887574312f606c61e7e188cfb11ddb33ff3bf4bd9f06e6b1458efca75f604" // v2.30.3
// ArgoCDDefaultExportJobImage is the export job container image to use when not specified.
ArgoCDDefaultExportJobImage = "quay.io/argoprojlabs/argocd-operator-util"
// ArgoCDDefaultExportJobVersion is the export job container image tag to use when not specified.
ArgoCDDefaultExportJobVersion = "sha256:6f80965a2bef1c80875be0995b18d9be5a6ad4af841cbc170ed3c60101a7deb2" // 0.5.0
// ArgoCDDefaultExportLocalCapicity is the default capacity to use for local export.
ArgoCDDefaultExportLocalCapicity = "2Gi"
// ArgoCDDefaultGATrackingID is the default Google Analytics tracking ID.
ArgoCDDefaultGATrackingID = ""
// ArgoCDDefaultGAAnonymizeUsers is the default value for anonymizing google analytics users.
ArgoCDDefaultGAAnonymizeUsers = false
// ArgoCDDefaultGrafanaAdminUsername is the Grafana admin username to use when not specified.
ArgoCDDefaultGrafanaAdminUsername = "admin"
// ArgoCDDefaultGrafanaAdminPasswordLength is the length of the generated default Grafana admin password.
ArgoCDDefaultGrafanaAdminPasswordLength = 32
// ArgoCDDefaultGrafanaAdminPasswordNumDigits is the number of digits to use for the generated default Grafana admin password.
ArgoCDDefaultGrafanaAdminPasswordNumDigits = 5
// ArgoCDDefaultGrafanaAdminPasswordNumSymbols is the number of symbols to use for the generated default Grafana admin password.
ArgoCDDefaultGrafanaAdminPasswordNumSymbols = 5
// ArgoCDDefaultGrafanaImage is the Grafana container image to use when not specified.
ArgoCDDefaultGrafanaImage = "grafana/grafana"
// ArgoCDDefaultGrafanaReplicas is the default Grafana replica count.
ArgoCDDefaultGrafanaReplicas = int32(1)
// ArgoCDDefaultGrafanaSecretKeyLength is the length of the generated default Grafana secret key.
ArgoCDDefaultGrafanaSecretKeyLength = 20
// ArgoCDDefaultGrafanaSecretKeyNumDigits is the number of digits to use for the generated default Grafana secret key.
ArgoCDDefaultGrafanaSecretKeyNumDigits = 5
// ArgoCDDefaultGrafanaSecretKeyNumSymbols is the number of symbols to use for the generated default Grafana secret key.
ArgoCDDefaultGrafanaSecretKeyNumSymbols = 0
// ArgoCDDefaultGrafanaConfigPath is the default Grafana configuration directory when not specified.
ArgoCDDefaultGrafanaConfigPath = "/var/lib/grafana"
// ArgoCDDefaultGrafanaVersion is the Grafana container image tag to use when not specified.
ArgoCDDefaultGrafanaVersion = "sha256:afef23a1b4cf159ec3180aac3ad693c10e560657313bfe3ec81f344ace6d2f05" // 6.7.2
// ArgoCDDefaultHelpChatURL is the default help chat URL.
ArgoCDDefaultHelpChatURL = ""
// ArgoCDDefaultHelpChatText is the default help chat text.
ArgoCDDefaultHelpChatText = ""
// ArgoCDDefaultIngressPath is the path to use for the Ingress when not specified.
ArgoCDDefaultIngressPath = "/"
// ArgoCDDefaultKustomizeBuildOptions is the default kustomize build options.
ArgoCDDefaultKustomizeBuildOptions = ""
// ArgoCDKeycloakImage is the default Keycloak Image used for the non-openshift platforms when not specified.
ArgoCDKeycloakImage = "quay.io/keycloak/keycloak"
// ArgoCDDefaultLabelSelector is the default Label Selector which will reconcile all ArgoCD instances.
ArgoCDDefaultLabelSelector = ""
// ArgoCDKeycloakVersion is the default Keycloak version used for the non-openshift platform when not specified.
// Version: 15.0.2
ArgoCDKeycloakVersion = "sha256:64fb81886fde61dee55091e6033481fa5ccdac62ae30a4fd29b54eb5e97df6a9"
// ArgoCDKeycloakImageForOpenShift is the default Keycloak Image used for the OpenShift platform when not specified.
ArgoCDKeycloakImageForOpenShift = "registry.redhat.io/rh-sso-7/sso76-openshift-rhel8"
// ArgoCDKeycloakVersionForOpenShift is the default Keycloak version used for the OpenShift platform when not specified.
// Version: 7.6-32
ArgoCDKeycloakVersionForOpenShift = "sha256:ec9f60018694dcc5d431ba47d5536b761b71cb3f66684978fe6bb74c157679ac"
// ArgoCDDefaultOIDCConfig is the default OIDC configuration.
ArgoCDDefaultOIDCConfig = ""
// ArgoCDDefaultPrometheusReplicas is the default Prometheus replica count.
ArgoCDDefaultPrometheusReplicas = int32(1)
// ArgoCDDefaultRBACPolicy is the default RBAC policy CSV data.
ArgoCDDefaultRBACPolicy = ""
// ArgoCDDefaultRBACDefaultPolicy is the default Argo CD RBAC policy.
ArgoCDDefaultRBACDefaultPolicy = "role:readonly"
// ArgoCDDefaultRBACScopes is the default Argo CD RBAC scopes.
ArgoCDDefaultRBACScopes = "[groups]"
// ArgoCDDefaultRedisConfigPath is the default Redis configuration directory when not specified.
ArgoCDDefaultRedisConfigPath = "/var/lib/redis"
// ArgoCDDefaultRedisHAReplicas is the defaul number of replicas for Redis when rinning in HA mode.
ArgoCDDefaultRedisHAReplicas = int32(3)
// ArgoCDDefaultRedisHAProxyImage is the default Redis HAProxy image to use when not specified.
ArgoCDDefaultRedisHAProxyImage = "haproxy"
// ArgoCDDefaultRedisHAProxyVersion is the default Redis HAProxy image tag to use when not specified.
ArgoCDDefaultRedisHAProxyVersion = "sha256:7392fbbbb53e9e063ca94891da6656e6062f9d021c0e514888a91535b9f73231" // 2.0.25-alpine
// ArgoCDDefaultRedisImage is the Redis container image to use when not specified.
ArgoCDDefaultRedisImage = "redis"
// ArgoCDDefaultRedisPort is the default listen port for Redis.
ArgoCDDefaultRedisPort = 6379
// ArgoCDDefaultRedisSentinelPort is the default listen port for Redis sentinel.
ArgoCDDefaultRedisSentinelPort = 26379
//ArgoCDDefaultRedisSuffix is the default suffix to use for Redis resources.
ArgoCDDefaultRedisSuffix = "redis"
// ArgoCDDefaultRedisVersion is the Redis container image tag to use when not specified.
ArgoCDDefaultRedisVersion = "sha256:8061ca607db2a0c80010aeb5fc9bed0253448bc68711eaa14253a392f6c48280" // 6.2.4-alpine
// ArgoCDDefaultRedisVersionHA is the Redis container image tag to use when not specified in HA mode.
ArgoCDDefaultRedisVersionHA = "sha256:8061ca607db2a0c80010aeb5fc9bed0253448bc68711eaa14253a392f6c48280" // 6.2.4-alpine
// ArgoCDDefaultRepoMetricsPort is the default listen port for the Argo CD repo server metrics.
ArgoCDDefaultRepoMetricsPort = 8084
// ArgoCDDefaultRepoServerPort is the default listen port for the Argo CD repo server.
ArgoCDDefaultRepoServerPort = 8081
// ArgoCDDefaultRepositories is the default repositories.
ArgoCDDefaultRepositories = ""
// ArgoCDDefaultRepositoryCredentials is the default repository credentials
ArgoCDDefaultRepositoryCredentials = ""
// ArgoCDDefaultResourceExclusions is the default resource exclusions.
ArgoCDDefaultResourceExclusions = ""
// ArgoCDDefaultResourceInclusions is the default resource inclusions.
ArgoCDDefaultResourceInclusions = ""
// ArgoCDDefaultRSAKeySize is the default RSA key size when not specified.
ArgoCDDefaultRSAKeySize = 2048
// ArgoCDDefaultServerOperationProcessors is the number of ArgoCD Server Operation Processors to use when not specified.
ArgoCDDefaultServerOperationProcessors = int32(10)
// ArgoCDDefaultServerStatusProcessors is the number of ArgoCD Server Status Processors to use when not specified.
ArgoCDDefaultServerStatusProcessors = int32(20)
// ArgoCDDefaultControllerParellelismLimit is the default parallelism limit for application controller
ArgoCDDefaultControllerParallelismLimit = int32(10)
// ArgoCDDefaultServerResourceLimitCPU is the default CPU limit when not specified for the Argo CD server contianer.
ArgoCDDefaultServerResourceLimitCPU = "1000m"
// ArgoCDDefaultServerResourceLimitMemory is the default memory limit when not specified for the Argo CD server contianer.
ArgoCDDefaultServerResourceLimitMemory = "128Mi"
// ArgoCDDefaultServerResourceRequestCPU is the default CPU requested when not specified for the Argo CD server contianer.
ArgoCDDefaultServerResourceRequestCPU = "250m"
// ArgoCDDefaultServerResourceRequestMemory is the default memory requested when not specified for the Argo CD server contianer.
ArgoCDDefaultServerResourceRequestMemory = "64Mi"
// ArgoCDDefaultServerSessionKeyLength is the length of the generated default server signature key.
ArgoCDDefaultServerSessionKeyLength = 20
// ArgoCDDefaultServerSessionKeyNumDigits is the number of digits to use for the generated default server signature key.
ArgoCDDefaultServerSessionKeyNumDigits = 5
// ArgoCDDefaultServerSessionKeyNumSymbols is the number of symbols to use for the generated default server signature key.
ArgoCDDefaultServerSessionKeyNumSymbols = 0
// ArgoCDDefaultSSHKnownHosts is the default SSH Known hosts data.
ArgoCDDefaultSSHKnownHosts = `[ssh.github.com]:443 ecd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edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H
vs-ssh.visualstudio.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7Hr1oTWqNqOlzGJOfGJ4NakVyIzf1rXYd4d7wo6jBlkLvCA4odBlL0mDUyZ0/QUfTTqeu+tm22gOsv+VrVTMk6vwRU75gY/y9ut5Mb3bR5BV58dKXyq9A9UeB5Cakehn5Zgm6x1mKoVyf+FFn26iYqXJRgzIZZcZ5V6hrE0Qg39kZm4az48o0AUbf6Sp4SLdvnuMa2sVNwHBboS7EJkm57XQPVU3/QpyNLHbWDdzwtrlS+ez30S3AdYhLKEOxAG8weOnyrtLJAUen9mTkol8oII1edf7mWWbWVf0nBmly21+nZcmCTISQBtdcyPaEno7fFQMDD26/s0lfKob4Kw8H
`
// OperatorMetricsPort is the port that is used to expose default controller-runtime metrics for the operator pod.
OperatorMetricsPort = 8080
)
// DefaultLabels returns the default set of labels for controllers.
func DefaultLabels(name string) map[string]string {
return map[string]string{
ArgoCDKeyName: name,
ArgoCDKeyPartOf: ArgoCDAppName,
ArgoCDKeyManagedBy: name,
}
}
// DefaultAnnotations returns the default set of annotations for child resources of ArgoCD
func DefaultAnnotations(name string, namespace string) map[string]string {
return map[string]string{
AnnotationName: name,
AnnotationNamespace: namespace,
}
}
// DefaultNodeSelector returns the defult nodeSelector for ArgoCD workloads
func DefaultNodeSelector() map[string]string {
return map[string]string{
"kubernetes.io/os": "linux",
}
}