Add ApplicationSet.yaml
This commit is contained in:
29
ApplicationSet.yaml
Normal file
29
ApplicationSet.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
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: example-app
|
||||
- path: 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
|
||||
Reference in New Issue
Block a user