diff --git a/argo1/templates/haproxy-ingress.yaml b/argo1/templates/haproxy-ingress.yaml new file mode 100644 index 0000000..414363f --- /dev/null +++ b/argo1/templates/haproxy-ingress.yaml @@ -0,0 +1,33 @@ +# {{ if (index .Values "haproxy-ingress").enabled -}} +--- +apiVersion: argoproj.io/v1alpha1 +kind: Application +metadata: + name: "haproxy-ingress" + namespace: argocd + finalizers: + - resources-finalizer.argocd.argoproj.io +spec: + project: default + source: + chart: haproxy-ingress + repoURL: https://haproxy-ingress.github.io/charts + targetRevision: 0.14.2 + helm: + values: |-{{ (index .Values "haproxy-ingress").values | nindent 8 }} + destination: + server: "https://kubernetes.default.svc" + namespace: haproxy-ingress + syncPolicy: + automated: + prune: true + selfHeal: true + syncOptions: + - CreateNamespace=true + retry: + limit: 10 + backoff: + duration: 5s + factor: 2 + maxDuration: 3m0s +# {{- end }}