Chart: Fix controller.enableAnnotationValidations
.
This commit is contained in:
parent
9541c3ba96
commit
f4375ad6c6
2 changed files with 2 additions and 3 deletions
|
@ -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" . }}
|
||||||
|
|
|
@ -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}
|
||||||
|
|
Loading…
Reference in a new issue