diff --git a/argo1/templates/haproxy-ingress.yaml b/argo1/templates/haproxy-ingress.yaml index 414363f..6033224 100644 --- a/argo1/templates/haproxy-ingress.yaml +++ b/argo1/templates/haproxy-ingress.yaml @@ -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