Packer.Images/ansible/roles/firstboot/files/ansible_payload/templates/applicationset.j2
Danny Bessems 6c4fe7a0e6
All checks were successful
continuous-integration/drone/push Build is passing
Improve feedback;Fix Gitea config;Fix argocd config
2022-08-31 12:04:53 +02:00

29 lines
790 B
Django/Jinja

apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: {{ _template.name }}
namespace: {{ _template.namespace }}
spec:
generators:
- git:
repoURL: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/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: ssh://git@gitea-ssh.gitea.svc.cluster.local/mc/GitOps.Config.git
targetRevision: HEAD
path: {% raw %}'{{ path }}'{% endraw +%}
destination:
server: https://kubernetes.default.svc
namespace: default