Ingress: Update config to be compatible with k8s schema validation

This PS updates the ingress controller configmap to be valid with
k8s schema validation turned on.

Change-Id: Ibbc82be62398ee63eb353aa58f1ebdf98e66b30d
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2019-06-18 16:22:42 -05:00 committed by Chris Wedgwood
parent 44c1dcc4c9
commit d60fe161a5

View File

@ -24,6 +24,10 @@ limitations under the License.
{{- if empty (index .Values.conf.ingress "bind-address") -}}
{{- $_ := set .Values.conf.ingress "bind-address" ( .Values.network.vip.addr | split "/" )._0 }}
{{- end -}}
{{- else -}}
{{- if empty (index .Values.conf.ingress "bind-address") -}}
{{- $_ := unset .Values.conf.ingress "bind-address" }}
{{- end -}}
{{- end -}}
---