Merge "Support underscore headers in ingress"
This commit is contained in:
commit
d02814940c
@ -75,6 +75,7 @@ spec:
|
|||||||
args:
|
args:
|
||||||
- /nginx-ingress-controller
|
- /nginx-ingress-controller
|
||||||
- '--default-backend-service=$(POD_NAMESPACE)/ingress-error-pages'
|
- '--default-backend-service=$(POD_NAMESPACE)/ingress-error-pages'
|
||||||
|
- --configmap=$(POD_NAMESPACE)/nginx-custom-configuration
|
||||||
{{- if .Values.network.host_namespace }}
|
{{- if .Values.network.host_namespace }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: ingress-etc
|
- name: ingress-etc
|
||||||
|
7
ingress/templates/nginx-custom-configuration.yaml
Normal file
7
ingress/templates/nginx-custom-configuration.yaml
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: nginx-custom-configuration
|
||||||
|
data:
|
||||||
|
enable-underscores-in-headers: "true"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user