Skip to content

Commit

Permalink
Update metallb detection for kube-vip feat compat
Browse files Browse the repository at this point in the history
  • Loading branch information
sholdee committed Jan 29, 2024
1 parent 05f358c commit a0740bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/k3s_server/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
- name: Deploy metallb manifest
include_tasks: metallb.yml
tags: metallb
when: kube_vip_lb_ip_range is not defined
when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined)

- name: Deploy kube-vip manifest
include_tasks: kube-vip.yml
Expand Down
2 changes: 1 addition & 1 deletion roles/k3s_server_post/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- name: Deploy metallb pool
include_tasks: metallb.yml
tags: metallb
when: kube_vip_lb_ip_range is not defined
when: kube_vip_lb_ip_range is not defined and (not cilium_bgp or cilium_iface is not defined)

- name: Remove tmp directory used for manifests
file:
Expand Down

0 comments on commit a0740bd

Please sign in to comment.