diff --git a/apps/argocd.yaml b/apps/argocd.yaml new file mode 100644 index 0000000..754a8b3 --- /dev/null +++ b/apps/argocd.yaml @@ -0,0 +1,29 @@ +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: argocd + namespace: argocd + annotations: + argocd.argoproj.io/sync-wave: "0" +spec: + project: workshop + sources: + - repoURL: https://argoproj.github.io/argo-helm + chart: argo-cd + targetRevision: "7.7.11" + helm: + valueFiles: + - $values/manifests/argocd/values.yaml + - repoURL: https://github.com/shautvast/ops-demo + targetRevision: HEAD + ref: values + destination: + server: https://kubernetes.default.svc + namespace: argocd + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + - ServerSideApply=true