Fix kubelet-csr-approver deployment failes if kube_network_plugin=cni(generic) (#11704)
* Make Helm's 'atomic' parameter configurable from role variables * Configure Helm with 'atomic' and 'wait' set to false for generic CNI to prevent kubelet-csr-approver installation failurespull/11720/head
parent
c4b53ff01a
commit
e8bdd47ecc
|
@ -46,6 +46,9 @@ argument_specs:
|
|||
default: true
|
||||
wait_timeout:
|
||||
type: str
|
||||
atomic:
|
||||
type: bool
|
||||
default: true
|
||||
|
||||
repositories:
|
||||
type: list
|
||||
|
@ -91,3 +94,6 @@ argument_specs:
|
|||
wait_timeout:
|
||||
type: str
|
||||
default: "5m"
|
||||
atomic:
|
||||
type: bool
|
||||
default: true
|
||||
|
|
|
@ -13,7 +13,8 @@ dependencies:
|
|||
namespace: "{{ kubelet_csr_approver_namespace }}"
|
||||
chart_ref: "{{ kubelet_csr_approver_chart_ref }}"
|
||||
chart_version: "{{ kubelet_csr_approver_chart_version }}"
|
||||
wait: true
|
||||
wait: "{{ kube_network_plugin != 'cni' }}"
|
||||
atomic: "{{ kube_network_plugin != 'cni' }}"
|
||||
values: "{{ kubelet_csr_approver_values }}"
|
||||
repositories:
|
||||
- name: "{{ kubelet_csr_approver_repository_name }}"
|
||||
|
|
Loading…
Reference in New Issue