Packer.Images/ansible/roles/firstboot/files/ansible_payload/bootstrap/templates/applicationset.j2
Danny Bessems 1c60214f5a
All checks were successful
continuous-integration/drone/push Build is passing
Add repositories;Push manifests;Change protocol
2023-03-31 14:25:03 +02:00

29 lines
788 B
Django/Jinja

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: {{ _template.name }}
namespace: {{ _template.namespace }}
spec:
generators:
- git:
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/wl/GitOps.Config.git
revision: HEAD
directories:
- path: metacluster-applicationset/*
template:
metadata:
name: {% raw %}'{{ path.basename }}'{% endraw +%}
spec:
project: default
syncPolicy:
automated:
prune: true
selfHeal: true
source:
repoURL: https://git.{{ vapp['metacluster.fqdn'] }}/wl/GitOps.Config.git
targetRevision: HEAD
path: {% raw %}'{{ path }}'{% endraw +%}
destination:
server: https://kubernetes.default.svc
namespace: default