2022-08-28 18:10:08 +00:00
|
|
|
apiVersion: argoproj.io/v1alpha1
|
|
|
|
kind: ApplicationSet
|
|
|
|
metadata:
|
2023-03-31 16:19:13 +00:00
|
|
|
name: {{ _template.application.name }}
|
|
|
|
namespace: {{ _template.application.namespace }}
|
2022-08-28 18:10:08 +00:00
|
|
|
spec:
|
|
|
|
generators:
|
|
|
|
- git:
|
2023-03-31 16:19:13 +00:00
|
|
|
repoURL: {{ _template.repository.url }}
|
2022-08-28 18:10:08 +00:00
|
|
|
revision: HEAD
|
|
|
|
directories:
|
2023-04-03 15:25:45 +00:00
|
|
|
- path: charts/*
|
2022-08-28 18:10:08 +00:00
|
|
|
template:
|
|
|
|
metadata:
|
2022-08-29 20:43:26 +00:00
|
|
|
name: {% raw %}'{{ path.basename }}'{% endraw +%}
|
2022-08-28 18:10:08 +00:00
|
|
|
spec:
|
|
|
|
project: default
|
|
|
|
syncPolicy:
|
|
|
|
automated:
|
|
|
|
prune: true
|
|
|
|
selfHeal: true
|
|
|
|
source:
|
2023-03-31 16:19:13 +00:00
|
|
|
repoURL: {{ _template.repository.url }}
|
2022-08-28 18:10:08 +00:00
|
|
|
targetRevision: HEAD
|
2022-08-29 20:43:26 +00:00
|
|
|
path: {% raw %}'{{ path }}'{% endraw +%}
|
2022-08-28 18:10:08 +00:00
|
|
|
destination:
|
2023-04-02 20:36:23 +00:00
|
|
|
server: {{ _template.cluster.url }}
|
2022-08-28 18:10:08 +00:00
|
|
|
namespace: default
|