mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-10 15:32:09 -03:30
add proxy_env to cilium install task for proxy support (#12417)
This commit is contained in:
parent
f347c12145
commit
5e54fd4da3
@ -11,6 +11,7 @@
|
||||
cilium_action: "{{ 'install' if ('release: not found' in cilium_release_info.stderr | default('') or 'release: not found' in cilium_release_info.stdout | default('')) else 'upgrade' }}"
|
||||
|
||||
- name: Cilium | Install
|
||||
environment: "{{ proxy_env }}"
|
||||
command: "{{ bin_dir }}/cilium {{ cilium_action }} --version {{ cilium_version }} -f {{ kube_config_dir }}/cilium-values.yaml {{ cilium_install_extra_flags }}"
|
||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user