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