Update root-set.yaml

This commit is contained in:
2025-05-30 16:50:13 +03:00
parent d13b632070
commit 78ee44b5e5

View File

@@ -1,20 +1,27 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
kind: ApplicationSet
metadata:
name: apps-manager
namespace: argocd
spec:
project: default
source:
repoURL: "https://git.konsthol.eu/konsthol/argocdapps"
targetRevision: main
path: argocd-apps
destination:
server: "https://kubernetes.default.svc"
namespace: argocd
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true
generators:
- directory:
path: argocd-apps
template:
metadata:
name: '{{path.basename}}'
spec:
project: default
source:
repoURL: "https://git.konsthol.eu/konsthol/argocdapps"
targetRevision: main
path: '{{path}}'
destination:
server: "https://kubernetes.default.svc"
namespace: '{{path.basename}}'
syncPolicy:
automated:
prune: true
selfHeal: true
syncOptions:
- CreateNamespace=true