Use correct env var name for kube-vip per service leader election (#10433)
parent
31f6d38cd2
commit
0f243d751f
|
@ -40,6 +40,10 @@ spec:
|
||||||
- name: svc_enable
|
- name: svc_enable
|
||||||
value: "true"
|
value: "true"
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if kube_vip_enableServicesElection %}
|
||||||
|
- name: svc_election
|
||||||
|
value: "true"
|
||||||
|
{% endif %}
|
||||||
{% if kube_vip_leader_election_enabled %}
|
{% if kube_vip_leader_election_enabled %}
|
||||||
- name: vip_leaderelection
|
- name: vip_leaderelection
|
||||||
value: "true"
|
value: "true"
|
||||||
|
@ -70,10 +74,6 @@ spec:
|
||||||
{% endif %}
|
{% endif %}
|
||||||
- name: address
|
- name: address
|
||||||
value: {{ kube_vip_address | to_json }}
|
value: {{ kube_vip_address | to_json }}
|
||||||
{% if kube_vip_enableServicesElection %}
|
|
||||||
- name: enableServicesElection
|
|
||||||
value: "true"
|
|
||||||
{% endif %}
|
|
||||||
{% if kube_vip_lb_enable %}
|
{% if kube_vip_lb_enable %}
|
||||||
- name: lb_enable
|
- name: lb_enable
|
||||||
value: "true"
|
value: "true"
|
||||||
|
|
Loading…
Reference in New Issue