Browse Source

Add proxy_env to cilium install task for proxy (#12530)

Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
pull/12570/head
ChengHao Yang 3 weeks ago
committed by GitHub
parent
commit
e52f788942
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions
  1. 1
      roles/network_plugin/cilium/tasks/apply.yml

1
roles/network_plugin/cilium/tasks/apply.yml

@ -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…
Cancel
Save