23 lines
618 B
YAML
23 lines
618 B
YAML
# Argo CD manages its own install (argocd/).
|
|
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: http://10.0.0.14:3000/un-oeil/argocd.git
|
|
targetRevision: main
|
|
path: argocd
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
# No prune: a bad commit here must not be able to delete Argo CD itself.
|
|
prune: false
|
|
selfHeal: true
|
|
syncOptions:
|
|
# The Argo CD CRDs are too big for client-side apply annotations.
|
|
- ServerSideApply=true
|