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