Danny Bessems
042b9eb36f
All checks were successful
continuous-integration/drone/push Build is passing
29 lines
804 B
Django/Jinja
29 lines
804 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'] }}/mc/ArgoCD.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'] }}/mc/ArgoCD.Config.git
|
|
targetRevision: HEAD
|
|
path: {% raw %}'{{ path }}'{% endraw +%}
|
|
destination:
|
|
server: https://{{ vapp['guestinfo.ipaddress'] }}:6443
|
|
namespace: default
|