Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
0f243d75
Unverified
Commit
0f243d75
authored
1 year ago
by
Qasim Mehmood
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Use correct env var name for kube-vip per service leader election (#10433)
parent
31f6d38c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2
+4
-4
4 additions, 4 deletions
.../kubernetes/node/templates/manifests/kube-vip.manifest.j2
with
4 additions
and
4 deletions
roles/kubernetes/node/templates/manifests/kube-vip.manifest.j2
+
4
−
4
View file @
0f243d75
...
@@ -40,6 +40,10 @@ spec:
...
@@ -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:
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment