Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AnnotationName is the annotation on child resources that specifies which ArgoCD instance // name a specific object is associated with AnnotationName = "argocds.argoproj.io/name" // AnnotationNamespace is the annotation on child resources that specifies which ArgoCD instance // namespace a specific object is associated with AnnotationNamespace = "argocds.argoproj.io/namespace" // AnnotationOpenShiftServiceCA is the annotation on services used to // request a TLS certificate from OpenShift's Service CA for AutoTLS AnnotationOpenShiftServiceCA = "service.beta.openshift.io/serving-cert-secret-name" )
View Source
const ( // ArgoCDApplicationControllerComponent is the name of the application controller control plane component ArgoCDApplicationControllerComponent = "argocd-application-controller" // ArgoCDApplicationControllerComponentView is the name of aggregated ClusterRole to configure view permissions for the application controller control plane component ArgoCDApplicationControllerComponentView = "argocd-application-controller-view" // ArgoCDApplicationControllerComponentAdmin is the name of aggregated ClusterRole to configure admin permissions for the application controller control plane component ArgoCDApplicationControllerComponentAdmin = "argocd-application-controller-admin" // 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" // ArgoCDApplicationSetControllerComponent is the name of the ApplictionSet controller control plane component ArgoCDApplicationSetControllerComponent = "argocd-applicationset-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:db23e2148b3d8ebc7683707da6d0b0c376d194890691222cba5d164776ea8980" // v3.1.11 // 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 // 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:b08a58c9731c693b8db02154d7afda798e1888dc76db30d34c4a0d0b8a26d913" // v2.43.0 // 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:392ea9e4961c21d496efede212f208b3aacef3e0a55631312d60f93b04600e9b" // 0.17.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 // 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 = "" // ArgoCDDefaultLabelSelector is the default Label Selector which will reconcile all ArgoCD instances. ArgoCDDefaultLabelSelector = "" // 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 = "public.ecr.aws/docker/library/haproxy" // ArgoCDDefaultRedisHAProxyVersion is the default Redis HAProxy image tag to use when not specified. ArgoCDDefaultRedisHAProxyVersion = "sha256:e11f034e651603f10a365e5ad5a0321825e18eded9620e40c4f4d6ae58419bfe" // 3.0.8-alpine // ArgoCDDefaultRedisImage is the Redis container image to use when not specified. ArgoCDDefaultRedisImage = "public.ecr.aws/docker/library/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:1a34bdba051ecd8a58ec8a3cc460acef697a1605e918149cc53d920673c1a0a7" // 7.2.11-alpine // ArgoCDDefaultRedisVersionHA is the Redis container image tag to use when not specified in HA mode. ArgoCDDefaultRedisVersionHA = "sha256:1a34bdba051ecd8a58ec8a3cc460acef697a1605e918149cc53d920673c1a0a7" // 7.2.11-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 = "" // ArgoCDExtensionInstallerImage is the default image for ArgoCD Extension Installer that can be used to install UI extensions like Rollouts extension. ArgoCDExtensionInstallerImage = "quay.io/argoprojlabs/argocd-extension-installer:v0.0.8" // ArgoRolloutsExtensionURL is the URL used to download the extension.js file from the latest rollout-extension tar release ArgoRolloutsExtensionURL = "https://github.com/argoproj-labs/rollout-extension/releases/download/v0.3.6/extension.tar" // 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 = `` /* 3811-byte string literal not displayed */ // RedisDefaultAdminPasswordLength is the length of the generated default redis admin password. RedisDefaultAdminPasswordLength = 16 // RedisDefaultAdminPasswordNumDigits is the number of digits to use for the generated default redis admin password. RedisDefaultAdminPasswordNumDigits = 5 // RedisDefaultAdminPasswordNumSymbols is the number of symbols to use for the generated default redis admin password. RedisDefaultAdminPasswordNumSymbols = 0 // OperatorMetricsPort is the port that is used to expose default controller-runtime metrics for the operator pod. OperatorMetricsPort = 8080 // NotificationsControllerMetricsPort is the port that is used to expose notifications controller metrics. NotificationsControllerMetricsPort = 9001 // ArgoCDCmdParamsConfigMapName is the upstream hard-coded ArgoCD command params ConfigMap name. ArgoCDCmdParamsConfigMapName = "argocd-cmd-params-cm" // ArgoCDAgentPrincipalDefaultImageName is the default image name for the ArgoCD agent's principal component. ArgoCDAgentPrincipalDefaultImageName = "quay.io/argoprojlabs/argocd-agent:v0.3.2" // ArgoCDAgentAgentDefaultImageName is the default image name for the ArgoCD agent's agent component. ArgoCDAgentAgentDefaultImageName = "quay.io/argoprojlabs/argocd-agent:v0.3.2" // ArgoCDImageUpdaterControllerComponent is the name of the Image Updater controller control plane component ArgoCDImageUpdaterControllerComponent = "argocd-image-updater-controller" // DefaultImagePullPolicy is the default image pull policy to use when not specified. DefaultImagePullPolicy = "IfNotPresent" )
View Source
const ( // ArgoCDKeyRespectRBAC is the configuration key for the respectRBAC setting. ArgoCDKeyRespectRBAC = "resource.respectRBAC" // ArgoCDValueRespectRBACStrict is the configuration value for the respectRBAC setting. ArgoCDValueRespectRBACStrict = "strict" // ArgoCDValueRespectRBACStrict is the configuration value for the respectRBAC setting. ArgoCDValueRespectRBACNormal = "normal" // ArgoCDKeyAdminEnabled is the configuration key for the admin enabled setting. ArgoCDKeyAdminEnabled = "admin.enabled" // ArgoCDKeyApplicationInstanceLabelKey is the configuration key for the application instance label. ArgoCDKeyApplicationInstanceLabelKey = "application.instanceLabelKey" // ArgoCDKeyAdminPassword is the admin password key for labels. ArgoCDKeyAdminPassword = "admin.password" // ArgoCDKeyAdminPasswordMTime is the admin password last modified key for labels. ArgoCDKeyAdminPasswordMTime = "admin.passwordMtime" // ArgoCDKeyBackupKey is the "backup key" key for ConfigMaps. ArgoCDKeyBackupKey = "backup.key" // ArgoCDKeyComponent is the resource component key for labels. ArgoCDKeyComponent = "app.kubernetes.io/component" // ArgoCDKeyDexOAuthRedirectURI is the key for the OAuth Redirect URI annotation. ArgoCDKeyDexOAuthRedirectURI = "serviceaccounts.openshift.io/oauth-redirecturi.argocd" // ArgoCDKeyDexConfig is the key for dex configuration. ArgoCDKeyDexConfig = "dex.config" // ArgoCDKeyFailureDomainZone is the failure-domain zone key for labels. ArgoCDKeyFailureDomainZone = "failure-domain.beta.kubernetes.io/zone" // ArgoCDKeyGATrackingID is the configuration key for the Google Analytics Tracking ID. ArgoCDKeyGATrackingID = "ga.trackingid" // ArgoCDKeyGAAnonymizeUsers is the configuration key for the Google Analytics user anonymization. ArgoCDKeyGAAnonymizeUsers = "ga.anonymizeusers" // ArgoCDKeyHelpChatURL is the congifuration key for the help chat URL. ArgoCDKeyHelpChatURL = "help.chatUrl" // ArgoCDKeyHelpChatText is the congifuration key for the help chat text. ArgoCDKeyHelpChatText = "help.chatText" // ArgoCDKeyHostname is the resource hostname key for labels. ArgoCDKeyHostname = "kubernetes.io/hostname" // ArgoCDKeyIngressBackendProtocol is the backend-protocol key for labels. ArgoCDKeyIngressBackendProtocol = "nginx.ingress.kubernetes.io/backend-protocol" // ArgoCDKeyIngressClass is the ingress class key for labels. ArgoCDKeyIngressClass = "kubernetes.io/ingress.class" // ArgoCDKeyIngressSSLRedirect is the ssl force-redirect key for labels. ArgoCDKeyIngressSSLRedirect = "nginx.ingress.kubernetes.io/force-ssl-redirect" // ArgoCDKeyIngressSSLPassthrough is the ssl passthrough key for labels. ArgoCDKeyIngressSSLPassthrough = "nginx.ingress.kubernetes.io/ssl-passthrough" // #nosec G101 // ArgoCDKeyKustomizeBuildOptions is the configuration key for the kustomize build options. ArgoCDKeyKustomizeBuildOptions = "kustomize.buildOptions" // ArgoCDKeyMetrics is the resource metrics key for labels. ArgoCDKeyMetrics = "metrics" // ArgoCDKeyName is the resource name key for labels. ArgoCDKeyName = "app.kubernetes.io/name" // ArgoCDKeyOIDCConfig is the configuration key for the OIDC configuration. ArgoCDKeyOIDCConfig = "oidc.config" // ArgoCDKeyPartOf is the resource part-of key for labels. ArgoCDKeyPartOf = "app.kubernetes.io/part-of" // ArgoCDKeyManagedBy is the managed-by key for labels. ArgoCDKeyManagedBy = "app.kubernetes.io/managed-by" // ArgoCDKeyStatefulSetPodName is the resource StatefulSet Pod Name key for labels. ArgoCDKeyStatefulSetPodName = "statefulset.kubernetes.io/pod-name" // ArgoCDKeyPrometheus is the resource prometheus key for labels. ArgoCDKeyPrometheus = "prometheus" // ArgoCDKeyRBACPolicyCSV is the configuration key for the Argo CD RBAC policy CSV. ArgoCDKeyRBACPolicyCSV = "policy.csv" // ArgoCDKeyRBACPolicyDefault is the configuration key for the Argo CD RBAC default policy. ArgoCDKeyRBACPolicyDefault = "policy.default" // ArgoCDKeyRBACScopes is the configuration key for the Argo CD RBAC scopes. ArgoCDKeyRBACScopes = "scopes" // ArgoCDKeyRelease is the prometheus release key for labels. ArgoCDKeyRelease = "release" // ArgoCDKeyResourceExclusions is the configuration key for resource exclusions. ArgoCDKeyResourceExclusions = "resource.exclusions" // ArgoCDKeyResourceInclusions is the configuration key for resource inclusions. ArgoCDKeyResourceInclusions = "resource.inclusions" // ArgoCDKeyResourceTrackingMethod is the configuration key for resource tracking method ArgoCDKeyResourceTrackingMethod = "application.resourceTrackingMethod" // ArgoCDKeyServerSecretKey is the server secret key property name for the Argo secret. ArgoCDKeyServerSecretKey = "server.secretkey" // ArgoCDKeyServerURL is the key for server url. ArgoCDKeyServerURL = "url" // ArgoCDKeySSHKnownHosts is the resource ssh_known_hosts key for labels. ArgoCDKeySSHKnownHosts = "ssh_known_hosts" // ArgoCDKeyStatusBadgeEnabled is the configuration key for enabling the status badge. ArgoCDKeyStatusBadgeEnabled = "statusbadge.enabled" // ArgoCDKeyTimeout is the configuration key for the reconciliation timeout in argocd-cm. ArgoCDKeyTimeout = "timeout.reconciliation" // ArgoCDKeyBannerContent is the configuration key for a banner message content. ArgoCDKeyBannerContent = "ui.bannercontent" // ArgoCDKeyBannerURL is the configuration key for a banner message URL. ArgoCDKeyBannerURL = "ui.bannerurl" // ArgoCDKeyBannerPermanent is the configuration key for permanent banner. ArgoCDKeyBannerPermanent = "ui.bannerpermanent" // ArgoCDKeyBannerURL is the configuration key for banner position. ArgoCDKeyBannerPosition = "ui.bannerposition" // ArgoCDKeyTLSCACert is the key for TLS CA certificates. ArgoCDKeyTLSCACert = "ca.crt" // ArgoCDKeyTLSCert is the key for TLS certificates. ArgoCDKeyTLSCert = corev1.TLSCertKey // ArgoCDKeyTLSPrivateKey is the key for TLS private keys. ArgoCDKeyTLSPrivateKey = corev1.TLSPrivateKeyKey // ArgoCDPolicyMatcherMode is the key for matchers function for casbin. // There are two options for this, 'glob' for glob matcher or 'regex' for regex matcher. ArgoCDPolicyMatcherMode = "policy.matchMode" // ArgoCDKeyTolerateUnreadyEndpounts is the resource tolerate unready endpoints key for labels. ArgoCDKeyTolerateUnreadyEndpounts = "service.alpha.kubernetes.io/tolerate-unready-endpoints" // ArgoCDKeyUsersAnonymousEnabled is the configuration key for anonymous user access. ArgoCDKeyUsersAnonymousEnabled = "users.anonymous.enabled" // ArgoCDDexImageEnvName is the environment variable used to get the image // to used for the Dex container. ArgoCDDexImageEnvName = "ARGOCD_DEX_IMAGE" // ArgoCDImageEnvName is the environment variable used to get the image // to used for the argocd container. ArgoCDImageEnvName = "ARGOCD_IMAGE" // ArgoCDExtensionImageEnvName is the environment variable used to get the image // to be used for the Argo-CD extension image ArgoCDExtensionImageEnvName = "ARGOCD_EXTENSION_IMAGE" // ArgoCDRedisHAProxyImageEnvName is the environment variable used to get the image // to used for the Redis HA Proxy container. ArgoCDRedisHAProxyImageEnvName = "ARGOCD_REDIS_HA_PROXY_IMAGE" // ArgoCDRedisHAImageEnvName is the environment variable used to get the image // to used for the the Redis container in HA mode. ArgoCDRedisHAImageEnvName = "ARGOCD_REDIS_HA_IMAGE" // ArgoCDRedisImageEnvName is the environment variable used to get the image // to used for the Redis container. ArgoCDRedisImageEnvName = "ARGOCD_REDIS_IMAGE" // ArgoCDServerRBACDisableFineGrainedInheritance is needed to specify if it is not possible to deny // fine-grained permissions for a sub-resource if the action was explicitly allowed on the application ArgoCDServerRBACDisableFineGrainedInheritance = "server.rbac.disableApplicationFineGrainedRBACInheritance" // ArgoCDDeletionFinalizer is a finalizer to implement pre-delete hooks ArgoCDDeletionFinalizer = "argoproj.io/finalizer" // ArgoCDDefaultServer is the default server address ArgoCDDefaultServer = "https://kubernetes.default.svc" // ArgoCDSecretTypeLabel is needed for cluster secrets ArgoCDSecretTypeLabel = "argocd.argoproj.io/secret-type" // #nosec G101 // ArgoCDManagedByLabel is needed to identify namespace managed by an instance on ArgoCD ArgoCDManagedByLabel = "argocd.argoproj.io/managed-by" // ArgoCDManagedByClusterArgoCDLabel is needed to identify namespace mentioned as sourceNamespace on ArgoCD ArgoCDManagedByClusterArgoCDLabel = "argocd.argoproj.io/managed-by-cluster-argocd" // ArgoCDApplicationSetManagedByClusterArgoCDLabel is needed to identify namespace mentioned as applicationSet sourceNamespaces on ArgoCD ArgoCDApplicationSetManagedByClusterArgoCDLabel = "argocd.argoproj.io/applicationset-managed-by-cluster-argocd" // ArgoCDNotificationsManagedByClusterArgoCDLabel is needed to identify namespace mentioned as notifications sourceNamespaces on ArgoCD ArgoCDNotificationsManagedByClusterArgoCDLabel = "argocd.argoproj.io/notifications-managed-by-cluster-argocd" // ArgoCDControllerClusterRoleEnvName is an environment variable to specify a custom cluster role for Argo CD application controller ArgoCDControllerClusterRoleEnvName = "CONTROLLER_CLUSTER_ROLE" // ArgoCDServerClusterRoleEnvName is an environment variable to specify a custom cluster role for Argo CD server ArgoCDServerClusterRoleEnvName = "SERVER_CLUSTER_ROLE" // ArgoCDDexSecretKey is used to reference Dex secret from Argo CD secret into Argo CD configmap ArgoCDDexSecretKey = "oidc.dex.clientSecret" // #nosec G101 // Label Selector is an env variable for ArgoCD instance reconcilliation. ArgoCDLabelSelectorKey = "ARGOCD_LABEL_SELECTOR" // ArgoCDKeyInstallationID is the configuration key for the installation ID. ArgoCDKeyInstallationID = "installationID" // ArgoCDTrackedByOperatorLabel for resources tracked by the operator ArgoCDTrackedByOperatorLabel = "operator.argoproj.io/tracked-by" // ALLOW_NAMESPACE_MANAGEMENT_IN_NAMESPACE_SCOPED_INSTANCES is an environment variable that controls whether // the Namespace Management feature is enabled. EnableManagedNamespace = "ALLOW_NAMESPACE_MANAGEMENT_IN_NAMESPACE_SCOPED_INSTANCES" // ArgoCDImageUpdaterImageEnvName is the environment variable used to get the image // to used for the Image Updater container. ArgoCDImageUpdaterImageEnvName = "ARGOCD_IMAGE_UPDATER_IMAGE" // ArgoCDImagePullPolicyEnvName is the environment variable used to get the global image pull policy // for all ArgoCD components managed by the operator. ArgoCDImagePullPolicyEnvName = "IMAGE_PULL_POLICY" )
View Source
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" // #nosec G101 // ArgoCDServerTLSSecretName is the name of the TLS secret for the argocd-server ArgoCDServerTLSSecretName = "argocd-server-tls" // #nosec G101 //ApplicationSetServiceNameSuffix is the suffix for Apllication Set Controller Service ApplicationSetServiceNameSuffix = "applicationset-controller" // ApplicationSetControllerWebhookSuffix is the suffix for ApplicationSet Webhook ApplicationSetControllerWebhookSuffix = "appset-webhook" // ArgoCDAggregateToControllerLabelKey is label to configure base aggregated ClusterRole for Argo CD Application Controller. ArgoCDAggregateToControllerLabelKey = "argocd/aggregate-to-controller" // ArgoCDAggregateToControllerLabelKey is label for aggregated ClusterRole to configure Admin permissions for Argo CD Application Controller. ArgoCDAggregateToAdminLabelKey = "argocd/aggregate-to-admin" // AutoUpdateAnnotationKey is the name of an annotation which prevents reconciliation if set to "false" AutoUpdateAnnotationKey = "rbac.authorization.kubernetes.io/autoupdate" )
Variables ¶
This section is empty.
Functions ¶
func DefaultAnnotations ¶
DefaultAnnotations returns the default set of annotations for child resources of ArgoCD
func DefaultLabels ¶
DefaultLabels returns the default set of labels for controllers.
func DefaultNodeSelector ¶ added in v0.5.0
DefaultNodeSelector returns the defult nodeSelector for ArgoCD workloads
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.