Skip to content
Snippets Groups Projects
Unverified Commit 0f243d75 authored by Qasim Mehmood's avatar Qasim Mehmood Committed by GitHub
Browse files

Use correct env var name for kube-vip per service leader election (#10433)

parent 31f6d38c
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,10 @@ spec:
- name: svc_enable
value: "true"
{% endif %}
{% if kube_vip_enableServicesElection %}
- name: svc_election
value: "true"
{% endif %}
{% if kube_vip_leader_election_enabled %}
- name: vip_leaderelection
value: "true"
......@@ -70,10 +74,6 @@ spec:
{% endif %}
- name: address
value: {{ kube_vip_address | to_json }}
{% if kube_vip_enableServicesElection %}
- name: enableServicesElection
value: "true"
{% endif %}
{% if kube_vip_lb_enable %}
- name: lb_enable
value: "true"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment