github.com/argoproj-labs/argocd-operator@v0.10.0/common/values.go (about) 1 // Copyright 2020 ArgoCD Operator Developers 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package common 16 17 import "time" 18 19 const ( 20 // ArgoCDAppName is the application name for labels. 21 ArgoCDAppName = "argocd" 22 23 // ArgoCDCASuffix is the name suffix for ArgoCD CA resources. 24 ArgoCDCASuffix = "ca" 25 26 // ArgoCDConfigMapName is the upstream hard-coded ArgoCD ConfigMap name. 27 ArgoCDConfigMapName = "argocd-cm" 28 29 // ArgoCDGPGKeysConfigMapName is the upstream hard-coded ArgoCD gpg-keys ConfigMap name. 30 ArgoCDGPGKeysConfigMapName = "argocd-gpg-keys-cm" 31 32 // ArgoCDDuration365Days is a duration representing 365 days. 33 ArgoCDDuration365Days = time.Hour * 24 * 365 34 35 // ArgoCDExportName is the export name for labels. 36 ArgoCDExportName = "argocd.export" 37 38 // ArgoCDExportStorageBackendAWS is the value for the AWS storage backend. 39 ArgoCDExportStorageBackendAWS = "aws" 40 41 // ArgoCDExportStorageBackendAzure is the value for the Azure storage backend. 42 ArgoCDExportStorageBackendAzure = "azure" 43 44 // ArgoCDExportStorageBackendGCP is the value for the GCP storage backend. 45 ArgoCDExportStorageBackendGCP = "gcp" 46 47 // ArgoCDExportStorageBackendLocal is the value for the local storage backend. 48 ArgoCDExportStorageBackendLocal = "local" 49 50 // ArgoCDKnownHostsConfigMapName is the upstream hard-coded SSH known hosts data ConfigMap name. 51 ArgoCDKnownHostsConfigMapName = "argocd-ssh-known-hosts-cm" 52 53 // ArgoCDRedisHAConfigMapName is the upstream ArgoCD Redis HA ConfigMap name. 54 ArgoCDRedisHAConfigMapName = "argocd-redis-ha-configmap" 55 56 // ArgoCDRedisHAHealthConfigMapName is the upstream ArgoCD Redis HA Health ConfigMap name. 57 ArgoCDRedisHAHealthConfigMapName = "argocd-redis-ha-health-configmap" 58 59 // ArgoCDRedisProbesConfigMapName is the upstream ArgoCD Redis Probes ConfigMap name. 60 ArgoCDRedisProbesConfigMapName = "argocd-redis-ha-probes" 61 62 // ArgoCDRBACConfigMapName is the upstream hard-coded RBAC ConfigMap name. 63 ArgoCDRBACConfigMapName = "argocd-rbac-cm" 64 65 // ArgoCDSecretName is the upstream hard-coded ArgoCD Secret name. 66 ArgoCDSecretName = "argocd-secret" 67 68 // ArgoCDStatusCompleted is the completed status value. 69 ArgoCDStatusCompleted = "Completed" 70 71 // ArgoCDTLSCertsConfigMapName is the upstream hard-coded TLS certificate data ConfigMap name. 72 ArgoCDTLSCertsConfigMapName = "argocd-tls-certs-cm" 73 74 // ArgoCDAppSetGitlabSCMTLSCertsConfigMapName is the hard-coded ApplicationSet Gitlab SCM TLS certificate data ConfigMap name. 75 ArgoCDAppSetGitlabSCMTLSCertsConfigMapName = "argocd-appset-gitlab-scm-tls-certs-cm" 76 77 // ArgoCDRedisServerTLSSecretName is the name of the TLS secret for the redis-server 78 ArgoCDRedisServerTLSSecretName = "argocd-operator-redis-tls" 79 80 // ArgoCDRepoServerTLSSecretName is the name of the TLS secret for the repo-server 81 ArgoCDRepoServerTLSSecretName = "argocd-repo-server-tls" 82 83 // ArgoCDServerTLSSecretName is the name of the TLS secret for the argocd-server 84 ArgoCDServerTLSSecretName = "argocd-server-tls" 85 86 //ApplicationSetServiceNameSuffix is the suffix for Apllication Set Controller Service 87 ApplicationSetServiceNameSuffix = "applicationset-controller" 88 )