use release name instead of application name for haproxy-ingress

This commit is contained in:
James Andariese 2023-04-23 22:44:28 -05:00
parent 201e189a51
commit 86b06f4196

View File

@ -3,7 +3,7 @@
apiVersion: argoproj.io/v1alpha1 apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: "haproxy-ingress" name: "{{ .Release.Name }}-haproxy-ingress"
namespace: argocd namespace: argocd
finalizers: finalizers:
- resources-finalizer.argocd.argoproj.io - resources-finalizer.argocd.argoproj.io
@ -15,6 +15,7 @@ spec:
targetRevision: 0.14.2 targetRevision: 0.14.2
helm: helm:
values: |-{{ (index .Values "haproxy-ingress").values | nindent 8 }} values: |-{{ (index .Values "haproxy-ingress").values | nindent 8 }}
releaseName: haproxy-ingress
destination: destination:
server: "https://kubernetes.default.svc" server: "https://kubernetes.default.svc"
namespace: haproxy-ingress namespace: haproxy-ingress