Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code-refactoring: Gitops 3127 implement applicationset controller package #1011

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion common/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ const (
ArgoCDDefaultArgoImage = "quay.io/argoproj/argocd"

// ArgoCDDefaultArgoVersion is the Argo CD container image digest to use when version not specified.
ArgoCDDefaultArgoVersion = "sha256:7daba5f38b23f4f091951b727db6f87dc04ad396fd21044401502438d633836e" // v2.7.6
ArgoCDDefaultArgoVersion = "sha256:d40da8f5747415eb7f9b5c2d9b645aecd423888cad9b36e4f986bff8ecf0a786" // v2.8.3

// ArgoCDDefaultBackupKeyLength is the length of the generated default backup key.
ArgoCDDefaultBackupKeyLength = 32
Expand Down
20 changes: 18 additions & 2 deletions common/values.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ const (
// ArgoCDRepoServerTLS is the argocd repo server tls value.
ArgoCDRepoServerTLS = "argocd-repo-server-tls"

// K8sOSLinux is the value for kubernetes.io/os key for linux pods
K8sOSLinux = "linux"
// ArgoCDAppSetGitlabSCMTLSCertsConfigMapName is the hard-coded ApplicationSet Gitlab SCM TLS certificate data ConfigMap name.
ArgoCDAppSetGitlabSCMTLSCertsConfigMapName = "argocd-appset-gitlab-scm-tls-certs-cm"

// K8sOSLinux is the value for kubernetes.io/os key for linux pods
K8sOSLinux = "linux"

// ArgoCDRedisServerTLSSecretName is the name of the TLS secret for the redis-server
ArgoCDRedisServerTLSSecretName = "argocd-operator-redis-tls"

Expand All @@ -62,6 +63,15 @@ const (
VolumeMountPathTLS = "/app/config/tls"
VolumeMountPathRepoServerTLS = "/app/config/reposerver/tls"
WorkingDirApp = "/app"
Webhook = "webhook"
SSHKnownHosts = "ssh-known-hosts"
VolumeMountPathSSH = "/app/config/ssh"
GPGKeys = "gpg-keys"
VolumeMountPathGPG = "/app/config/gpg/source"
GPGKeyRing = "gpg-keyring"
VolumeMountPathGPGKeyring = "/app/config/gpg/keys"
VolumeTmp = "tmp"
VolumeMountPathTmp = "/tmp"
)

// API group versions and resource kinds
Expand All @@ -75,5 +85,11 @@ const (
RoleBindingKind = "RoleBinding"
ConfigMapKind = "ConfigMap"
SecretKind = "Secret"
ServiceKind = "Service"
ServiceAccountKind = "ServiceAccount"
)

// Commnds
const (
LogLevel = "--loglevel"
)
Loading
Loading