Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/applicationset.j2
Danny Bessems 8e76617794
Some checks failed
continuous-integration/drone/push Build is failing
Fix repository path;Add chart values;Fix ansible galaxy cli syntax
2023-04-03 17:25:45 +02:00

29 lines
723 B
Django/Jinja

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: {{ _template.application.name }}
namespace: {{ _template.application.namespace }}
spec:
generators:
- git:
repoURL: {{ _template.repository.url }}
revision: HEAD
directories:
- path: charts/*
template:
metadata:
name: {% raw %}'{{ path.basename }}'{% endraw +%}
spec:
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
source:
repoURL: {{ _template.repository.url }}
targetRevision: HEAD
path: {% raw %}'{{ path }}'{% endraw +%}
destination:
server: {{ _template.cluster.url }}
namespace: default