Skip to content

Commit

Permalink
The VIP interface is no longer mandatory
Browse files Browse the repository at this point in the history
After the pr kube-vip/kube-vip#289 merged, the
kube-vip supports default interface.

Signed-off-by: yaocw2020 <[email protected]>
  • Loading branch information
yaocw2020 committed Dec 21, 2021
1 parent 2ea60fe commit cf5f1be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions charts/kube-vip/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cf5f1be

Please sign in to comment.