22 lines
604 B
YAML
22 lines
604 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Application
|
|
metadata:
|
|
name: argocd-config
|
|
namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://git.cloud-infra.prod.openmailserver.de/stabify/gitops.git
|
|
targetRevision: HEAD
|
|
path: apps/argocd-config
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: false # Safety: Don't delete ArgoCD resources not managed by this app
|
|
selfHeal: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
# WICHTIG: ServerSideApply für Patches
|
|
- ServerSideApply=true |