forked from DevFW-CICD/stacks
30 lines
925 B
YAML
30 lines
925 B
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
|
|
destination:
|
|
name: in-cluster
|
|
namespace: argocd
|
|
sources:
|
|
- repoURL: https://github.com/argoproj/argo-helm
|
|
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-7.7.5
|
|
helm:
|
|
valueFiles:
|
|
- $values/stacks/core/argocd/values.yaml
|
|
- repoURL: https://{{{ .Env.DOMAIN_GITEA }}}/giteaAdmin/edfbuilder
|
|
targetRevision: HEAD
|
|
ref: values
|