Merge "Ingress: Update config to be compatible with k8s schema validation"

This commit is contained in:
Zuul 2019-06-25 03:25:17 +00:00 committed by Gerrit Code Review
commit 0267c8fa77

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