argocd: manage namespaces via manifests instead of CreateNamespace

This commit is contained in:
2026-08-16 21:08:41 +02:00
parent 39f8a78306
commit 7403edf7d5
49 changed files with 121 additions and 31 deletions
@@ -0,0 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: pelican
namespace: argocd
spec:
project: default
source:
repoURL: https://gitea.jsme.be/Jeffrey/Kubernetes-Manifests.git
path: applications/pelican
targetRevision: main
directory:
recurse: true
destination:
server: https://kubernetes.default.svc
namespace: pelican
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- PruneLast=true
ignoreDifferences:
- group: ""
kind: PersistentVolumeClaim
jsonPointers:
- /spec/volumeName