add haproxy-ingress application
make haproxy-ingress a singleton
This commit is contained in:
parent
2001503ea4
commit
5c214a23da
33
argo1/templates/haproxy-ingress.yaml
Normal file
33
argo1/templates/haproxy-ingress.yaml
Normal 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 }}
|
Loading…
Reference in New Issue
Block a user