Skip to content

Commit 45586c0

Browse files
authored
Fix GlobalConfiguration name in Helm Chart (#3815)
1 parent 5517f66 commit 45586c0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deployments/helm-chart/templates/controller-daemonset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ spec:
237237
- -enable-oidc={{ .Values.controller.enableOIDC }}
238238
- -enable-external-dns={{ .Values.controller.enableExternalDNS }}
239239
{{- if .Values.controller.globalConfiguration.create }}
240-
- -global-configuration=$(POD_NAMESPACE)/{{ include "nginx-ingress.name" . }}
240+
- -global-configuration=$(POD_NAMESPACE)/{{ include "nginx-ingress.controller.fullname" . }}
241241
{{- end }}
242242
{{- end }}
243243
- -ready-status={{ .Values.controller.readyStatus.enable }}

deployments/helm-chart/templates/controller-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ spec:
242242
- -enable-oidc={{ .Values.controller.enableOIDC }}
243243
- -enable-external-dns={{ .Values.controller.enableExternalDNS }}
244244
{{- if .Values.controller.globalConfiguration.create }}
245-
- -global-configuration=$(POD_NAMESPACE)/{{ include "nginx-ingress.name" . }}
245+
- -global-configuration=$(POD_NAMESPACE)/{{ include "nginx-ingress.controller.fullname" . }}
246246
{{- end }}
247247
{{- end }}
248248
- -ready-status={{ .Values.controller.readyStatus.enable }}

deployments/helm-chart/templates/controller-globalconfiguration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
apiVersion: k8s.nginx.org/v1alpha1
33
kind: GlobalConfiguration
44
metadata:
5-
name: {{ include "nginx-ingress.fullname" . }}
5+
name: {{ include "nginx-ingress.controller.fullname" . }}
66
namespace: {{ .Release.Namespace }}
77
labels:
88
{{- include "nginx-ingress.labels" . | nindent 4 }}

0 commit comments

Comments
 (0)