Skip to content
Snippets Groups Projects
Commit 38009a21 authored by Peter Metz's avatar Peter Metz Committed by Kubernetes Prow Robot
Browse files

fix(contrib/metallb): adds missing become: true in role (#4356)

On CoreOS, without this, it fails to kubectl apply MetalLB due to lack of privileges.
parent 150a969c
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
kubectl: "{{bin_dir}}/kubectl"
filename: "{{ kube_config_dir }}/{{ item.item }}"
state: "{{ item.changed | ternary('latest','present') }}"
become: true
with_items: "{{ rendering.results }}"
when:
- "inventory_hostname == groups['kube-master'][0]"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment