Update root-set.yaml

This commit is contained in:
2025-05-30 16:46:35 +03:00
parent 7b91ea4ebe
commit d13b632070
2 changed files with 20 additions and 29 deletions

View File

@@ -1,29 +0,0 @@
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: dynamic-apps
namespace: argocd
spec:
generators:
- git:
repoURL: https://git.konsthol.eu/konsthol/argocdapps
revision: HEAD
directories:
- path: argocd-apps/example-app
- path: argocd-apps/json-echo
template:
metadata:
name: "{{path.basename}}"
spec:
project: default
source:
repoURL: https://git.konsthol.eu/konsthol/argocdapps
path: "{{path}}"
targetRevision: HEAD
destination:
server: https://kubernetes.default.svc
namespace: "{{path.basename}}"
syncPolicy:
automated:
prune: true
selfHeal: true

20
root-set.yaml Normal file
View File

@@ -0,0 +1,20 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
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