Browse Source
Use correct env var name for kube-vip per service leader election (#10433)
pull/10439/head
Qasim Mehmood
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
4 deletions
-
roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2
|
|
@ -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" |
|
|
|