add haproxy-ingress application

make haproxy-ingress a singleton
This commit is contained in:
James Andariese 2023-04-23 22:32:39 -05:00
parent 2001503ea4
commit 5c214a23da

View File

@ -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 }}