Skip to content

Commit

Permalink
Use correct env var name for kube-vip per service leader election (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
ThisIsQasim authored Sep 14, 2023
1 parent 31f6d38 commit 0f243d7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 0f243d7

Please sign in to comment.