From cf5f1be4d7a2fec22dfe3ad74d1c2d2fb42a2a24 Mon Sep 17 00:00:00 2001 From: yaocw2020 Date: Tue, 21 Dec 2021 23:58:49 +0800 Subject: [PATCH] The VIP interface is no longer mandatory After the pr https://github.com/kube-vip/kube-vip/pull/289 merged, the kube-vip supports default interface. Signed-off-by: yaocw2020 --- charts/kube-vip/templates/daemonset.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/charts/kube-vip/templates/daemonset.yaml b/charts/kube-vip/templates/daemonset.yaml index 9d7179a..f11dec2 100644 --- a/charts/kube-vip/templates/daemonset.yaml +++ b/charts/kube-vip/templates/daemonset.yaml @@ -17,11 +17,11 @@ spec: - manager env: - name: vip_interface - value: {{ required "A valid config.vip_interface required!" .Values.config.vip_interface}} - {{ if eq .Values.config.cp_enable "true" }} + value: {{ .Values.config.vip_interface | quote }} + {{- if eq .Values.config.cp_enable "true" }} - name: vip_address value: {{ required "A valid config.vip_address required!" .Values.config.vip_address}} - {{ end }} + {{- end }} - name: vip_arp value: {{ .Values.config.vip_arp | quote }} - name: port