k3s_server: add kube_vip_arp parameter (#550)

With the kube_vip_arp parameter it is possible to set or unset the
vip_arp environment variable of the kube-vip-ds daemonset. The value of
the kube_vip_arp is true by default to not change the existing default.

Signed-off-by: Christian Berendt <berendt@osism.tech>
Co-authored-by: Techno Tim <timothystewart6@gmail.com>
This commit is contained in:
Christian Berendt
2024-07-29 23:05:30 +02:00
committed by GitHub
parent 6cee0e9051
commit 668d7fb896
2 changed files with 4 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ spec:
- manager
env:
- name: vip_arp
value: "true"
value: "{{ 'true' if kube_vip_arp | bool else 'false' }}"
- name: port
value: "6443"
{% if kube_vip_iface %}