mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-01-09 23:12:10 -03:30
Add proxy_env to cilium install task for proxy (#12530)
Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
parent
ad7ab2cd37
commit
e52f788942
@ -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"
|
||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user