Updates the Argo CD deployment to use a newer version, improving compatibility and potentially resolving issues tied to older releases. Relates to ongoing maintenance and upstream bug tracking.
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd
|
|
namespace: argocd
|
|
labels:
|
|
env: dev
|
|
spec:
|
|
project: default
|
|
syncPolicy:
|
|
automated:
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
retry:
|
|
limit: -1
|
|
destination:
|
|
name: in-cluster
|
|
namespace: argocd
|
|
sources:
|
|
- repoURL: https://github.com/argoproj/argo-helm.git
|
|
path: charts/argo-cd
|
|
# TODO: RIRE Can be updated when https://github.com/argoproj/argo-cd/issues/20790 is fixed and merged
|
|
# As logout make problems, it is suggested to switch from path based routing to an own argocd domain,
|
|
# similar to the CNOE amazon reference implementation and in our case, Forgejo
|
|
targetRevision: argo-cd-9.4.6
|
|
helm:
|
|
valueFiles:
|
|
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/core/argocd/values.yaml
|
|
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
|
targetRevision: HEAD
|
|
ref: values
|
|
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
|
targetRevision: HEAD
|
|
path: "{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/core/argocd/manifests"
|