Merge "Support underscore headers in ingress"

This commit is contained in:
Jenkins 2017-07-20 01:18:28 +00:00 committed by Gerrit Code Review
commit d02814940c
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-custom-configuration
data:
enable-underscores-in-headers: "true"