Chart: Fix controller.enableAnnotationValidations.

This commit is contained in:
Marco Ebert 2024-08-26 17:21:19 +02:00
parent 9541c3ba96
commit f4375ad6c6
2 changed files with 2 additions and 3 deletions

View file

@ -1,7 +1,7 @@
{{- define "ingress-nginx.params" -}} {{- define "ingress-nginx.params" -}}
- /nginx-ingress-controller - /nginx-ingress-controller
{{- if .Values.controller.enableAnnotationValidations }} {{- if not .Values.controller.enableAnnotationValidations }}
- --enable-annotation-validation=true - --enable-annotation-validation=false
{{- end }} {{- end }}
{{- if .Values.defaultBackend.enabled }} {{- if .Values.defaultBackend.enabled }}
- --default-backend-service=$(POD_NAMESPACE)/{{ include "ingress-nginx.defaultBackend.fullname" . }} - --default-backend-service=$(POD_NAMESPACE)/{{ include "ingress-nginx.defaultBackend.fullname" . }}

View file

@ -58,7 +58,6 @@ else
# TODO: remove the need to use fullnameOverride # TODO: remove the need to use fullnameOverride
fullnameOverride: nginx-ingress fullnameOverride: nginx-ingress
controller: controller:
enableAnnotationValidations: true
image: image:
repository: ingress-controller/controller repository: ingress-controller/controller
chroot: ${IS_CHROOT} chroot: ${IS_CHROOT}