-
Notifications
You must be signed in to change notification settings - Fork 620
/
values.go
88 lines (63 loc) · 3.53 KB
/
values.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
// 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
import "time"
const (
// ArgoCDAppName is the application name for labels.
ArgoCDAppName = "argocd"
// ArgoCDCASuffix is the name suffix for ArgoCD CA resources.
ArgoCDCASuffix = "ca"
// ArgoCDConfigMapName is the upstream hard-coded ArgoCD ConfigMap name.
ArgoCDConfigMapName = "argocd-cm"
// ArgoCDGPGKeysConfigMapName is the upstream hard-coded ArgoCD gpg-keys ConfigMap name.
ArgoCDGPGKeysConfigMapName = "argocd-gpg-keys-cm"
// ArgoCDDuration365Days is a duration representing 365 days.
ArgoCDDuration365Days = time.Hour * 24 * 365
// ArgoCDExportName is the export name for labels.
ArgoCDExportName = "argocd.export"
// ArgoCDExportStorageBackendAWS is the value for the AWS storage backend.
ArgoCDExportStorageBackendAWS = "aws"
// ArgoCDExportStorageBackendAzure is the value for the Azure storage backend.
ArgoCDExportStorageBackendAzure = "azure"
// ArgoCDExportStorageBackendGCP is the value for the GCP storage backend.
ArgoCDExportStorageBackendGCP = "gcp"
// ArgoCDExportStorageBackendLocal is the value for the local storage backend.
ArgoCDExportStorageBackendLocal = "local"
// ArgoCDKnownHostsConfigMapName is the upstream hard-coded SSH known hosts data ConfigMap name.
ArgoCDKnownHostsConfigMapName = "argocd-ssh-known-hosts-cm"
// ArgoCDRedisHAConfigMapName is the upstream ArgoCD Redis HA ConfigMap name.
ArgoCDRedisHAConfigMapName = "argocd-redis-ha-configmap"
// ArgoCDRedisHAHealthConfigMapName is the upstream ArgoCD Redis HA Health ConfigMap name.
ArgoCDRedisHAHealthConfigMapName = "argocd-redis-ha-health-configmap"
// ArgoCDRedisProbesConfigMapName is the upstream ArgoCD Redis Probes ConfigMap name.
ArgoCDRedisProbesConfigMapName = "argocd-redis-ha-probes"
// ArgoCDRBACConfigMapName is the upstream hard-coded RBAC ConfigMap name.
ArgoCDRBACConfigMapName = "argocd-rbac-cm"
// ArgoCDSecretName is the upstream hard-coded ArgoCD Secret name.
ArgoCDSecretName = "argocd-secret"
// ArgoCDStatusCompleted is the completed status value.
ArgoCDStatusCompleted = "Completed"
// ArgoCDTLSCertsConfigMapName is the upstream hard-coded TLS certificate data ConfigMap name.
ArgoCDTLSCertsConfigMapName = "argocd-tls-certs-cm"
// ArgoCDAppSetGitlabSCMTLSCertsConfigMapName is the hard-coded ApplicationSet Gitlab SCM TLS certificate data ConfigMap name.
ArgoCDAppSetGitlabSCMTLSCertsConfigMapName = "argocd-appset-gitlab-scm-tls-certs-cm"
// ArgoCDRedisServerTLSSecretName is the name of the TLS secret for the redis-server
ArgoCDRedisServerTLSSecretName = "argocd-operator-redis-tls"
// ArgoCDRepoServerTLSSecretName is the name of the TLS secret for the repo-server
ArgoCDRepoServerTLSSecretName = "argocd-repo-server-tls"
// ArgoCDServerTLSSecretName is the name of the TLS secret for the argocd-server
ArgoCDServerTLSSecretName = "argocd-server-tls"
//ApplicationSetServiceNameSuffix is the suffix for Apllication Set Controller Service
ApplicationSetServiceNameSuffix = "applicationset-controller"
)