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:
parent
44c1dcc4c9
commit
d60fe161a5
@ -24,6 +24,10 @@ limitations under the License.
|
|||||||
{{- if empty (index .Values.conf.ingress "bind-address") -}}
|
{{- if empty (index .Values.conf.ingress "bind-address") -}}
|
||||||
{{- $_ := set .Values.conf.ingress "bind-address" ( .Values.network.vip.addr | split "/" )._0 }}
|
{{- $_ := set .Values.conf.ingress "bind-address" ( .Values.network.vip.addr | split "/" )._0 }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- if empty (index .Values.conf.ingress "bind-address") -}}
|
||||||
|
{{- $_ := unset .Values.conf.ingress "bind-address" }}
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user