mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-25 15:06:06 -03:30
Add kube_vip_lb_fwdmethod option for kube-vip (#10762)
Signed-off-by: tu1h <lihai.tu@daocloud.io>
This commit is contained in:
@@ -77,6 +77,10 @@ spec:
|
||||
{% if kube_vip_lb_enable %}
|
||||
- name: lb_enable
|
||||
value: "true"
|
||||
{% endif %}
|
||||
{% if kube_vip_lb_fwdmethod %}
|
||||
- name: lb_fwdmethod
|
||||
value: {{ kube_vip_lb_fwdmethod | string | to_json }}
|
||||
{% endif %}
|
||||
image: {{ kube_vip_image_repo }}:{{ kube_vip_image_tag }}
|
||||
imagePullPolicy: {{ k8s_image_pull_policy }}
|
||||
|
||||
Reference in New Issue
Block a user