Fix typo;Fix readycheck;Add argocd applicationset
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-08-28 20:10:08 +02:00
parent bd0b74ba19
commit 2cd2c4c6d0
5 changed files with 47 additions and 6 deletions

View File

@ -0,0 +1,28 @@
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