diff --git a/deployments/helm-chart/templates/controller-daemonset.yaml b/deployments/helm-chart/templates/controller-daemonset.yaml index 0ea4a78845..1f58b6a9bf 100644 --- a/deployments/helm-chart/templates/controller-daemonset.yaml +++ b/deployments/helm-chart/templates/controller-daemonset.yaml @@ -143,7 +143,7 @@ spec: - -enable-tls-passthrough={{ .Values.controller.enableTLSPassthrough }} - -enable-snippets={{ .Values.controller.enableSnippets }} {{- if .Values.controller.globalConfiguration.create }} - - -global-configuration=$(POD_NAMESPACE)/{{ .Release.Name }} + - -global-configuration=$(POD_NAMESPACE)/{{ include "nginx-ingress.name" . }} {{- end }} {{- end }} - -ready-status={{ .Values.controller.readyStatus.enable }} diff --git a/deployments/helm-chart/templates/controller-deployment.yaml b/deployments/helm-chart/templates/controller-deployment.yaml index 4349141f9f..6b952d25f9 100644 --- a/deployments/helm-chart/templates/controller-deployment.yaml +++ b/deployments/helm-chart/templates/controller-deployment.yaml @@ -141,7 +141,7 @@ spec: - -enable-tls-passthrough={{ .Values.controller.enableTLSPassthrough }} - -enable-snippets={{ .Values.controller.enableSnippets }} {{- if .Values.controller.globalConfiguration.create }} - - -global-configuration=$(POD_NAMESPACE)/{{ .Release.Name }} + - -global-configuration=$(POD_NAMESPACE)/{{ include "nginx-ingress.name" . }} {{- end }} {{- end }} - -ready-status={{ .Values.controller.readyStatus.enable }}