mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-19 04:00:11 -03:30
Add cilium_extra_values to make use of any cilium values (#12375)
fix noqa
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
- 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 }}"
|
||||
command: "{{ bin_dir }}/cilium {{ cilium_action }} --version {{ cilium_version }} -f {{ kube_config_dir }}/cilium-values.yaml -f {{ kube_config_dir }}/cilium-extra-values.yaml {{ cilium_install_extra_flags }}"
|
||||
when: inventory_hostname == groups['kube_control_plane'][0]
|
||||
|
||||
- name: Cilium | Wait for pods to run
|
||||
|
||||
@@ -45,6 +45,14 @@
|
||||
when:
|
||||
- inventory_hostname == groups['kube_control_plane'][0]
|
||||
|
||||
- name: Cilium | Copy extra values
|
||||
copy:
|
||||
content: "{{ cilium_extra_values | to_nice_yaml(indent=2) }}"
|
||||
dest: "{{ kube_config_dir }}/cilium-extra-values.yaml"
|
||||
mode: "0644"
|
||||
when:
|
||||
- inventory_hostname == groups['kube_control_plane'][0]
|
||||
|
||||
- name: Cilium | Copy Ciliumcli binary from download dir
|
||||
copy:
|
||||
src: "{{ local_release_dir }}/cilium"
|
||||
|
||||
Reference in New Issue
Block a user