diff --git a/ingress/templates/nginx-custom-configuration.yaml b/ingress/templates/nginx-custom-configuration.yaml index c687a43834..7dd898e6bd 100644 --- a/ingress/templates/nginx-custom-configuration.yaml +++ b/ingress/templates/nginx-custom-configuration.yaml @@ -1,7 +1,25 @@ +{{/* +Copyright 2017 The Openstack-Helm Authors. + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/}} + +{{- $envAll := . }} +--- apiVersion: v1 kind: ConfigMap metadata: name: nginx-custom-configuration data: - enable-underscores-in-headers: "true" +{{ toYaml .Values.config | indent 2 }} diff --git a/ingress/values.yaml b/ingress/values.yaml index e37fe606db..e1d52f90fc 100644 --- a/ingress/values.yaml +++ b/ingress/values.yaml @@ -81,3 +81,6 @@ endpoints: https: 443 deployment_type: Deployment + +config: + enable-underscores-in-headers: "true"