diff --git a/ingress/templates/configmap-conf.yaml b/ingress/templates/configmap-conf.yaml index 5483b0fd4..d5a47a275 100644 --- a/ingress/templates/configmap-conf.yaml +++ b/ingress/templates/configmap-conf.yaml @@ -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 -}} ---