Add strict-validate-path-type arg to chart params
Signed-off-by: stgrace <stefgraces@hotmail.com>
This commit is contained in:
parent
da51393cac
commit
b3574b2137
3 changed files with 8 additions and 1 deletions
|
@ -19,4 +19,4 @@ maintainers:
|
|||
name: ingress-nginx
|
||||
sources:
|
||||
- https://github.com/kubernetes/ingress-nginx
|
||||
version: 4.8.3
|
||||
version: 4.8.4
|
||||
|
|
|
@ -57,6 +57,9 @@
|
|||
{{- if .Values.controller.enableTopologyAwareRouting }}
|
||||
- --enable-topology-aware-routing=true
|
||||
{{- end }}
|
||||
{{- if .Values.controller.strictValidatePathType }}
|
||||
- --strict-validate-path-type=true
|
||||
{{- end }}
|
||||
{{- range $key, $value := .Values.controller.extraArgs }}
|
||||
{{- /* Accept keys without values or with false as value */}}
|
||||
{{- if eq ($value | quote | len) 2 }}
|
||||
|
|
|
@ -92,6 +92,10 @@ controller:
|
|||
# -- Required for use with CNI based kubernetes installations (such as ones set up by kubeadm),
|
||||
# since CNI and hostport don't mix yet. Can be deprecated once https://github.com/kubernetes/kubernetes/issues/23920
|
||||
# is merged
|
||||
strictValidatePathType: false
|
||||
# -- Set strict valdiation for paths
|
||||
# When pathType is configured as `Exact` or `Prefix`, there should be a more strict validation, allowing only paths starting with "/" and
|
||||
# containing only alphanumeric characters and "-", "_" and additional "/".
|
||||
hostNetwork: false
|
||||
## Use host ports 80 and 443
|
||||
## Disabled by default
|
||||
|
|
Loading…
Reference in a new issue