22 lines
587 B
YAML
22 lines
587 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd-self
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://gitea.controller.bittehackmichnicht.de/argocd/kubernetes-config.git
|
|
targetRevision: main
|
|
path: argocd
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
# Needed for ArgoCD to manage itself, otherwise it would not be able to update itself when the application manifest changes
|
|
syncOptions:
|
|
- ServerSideApply=true
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|