Update root-set.yaml
This commit is contained in:
@@ -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
20
root-set.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user