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
|
default: true
|
||||||
wait_timeout:
|
wait_timeout:
|
||||||
type: str
|
type: str
|
||||||
|
atomic:
|
||||||
|
type: bool
|
||||||
|
default: true
|
||||||
|
|
||||||
repositories:
|
repositories:
|
||||||
type: list
|
type: list
|
||||||
|
@ -91,3 +94,6 @@ argument_specs:
|
||||||
wait_timeout:
|
wait_timeout:
|
||||||
type: str
|
type: str
|
||||||
default: "5m"
|
default: "5m"
|
||||||
|
atomic:
|
||||||
|
type: bool
|
||||||
|
default: true
|
||||||
|
|
|
@ -13,7 +13,8 @@ dependencies:
|
||||||
namespace: "{{ kubelet_csr_approver_namespace }}"
|
namespace: "{{ kubelet_csr_approver_namespace }}"
|
||||||
chart_ref: "{{ kubelet_csr_approver_chart_ref }}"
|
chart_ref: "{{ kubelet_csr_approver_chart_ref }}"
|
||||||
chart_version: "{{ kubelet_csr_approver_chart_version }}"
|
chart_version: "{{ kubelet_csr_approver_chart_version }}"
|
||||||
wait: true
|
wait: "{{ kube_network_plugin != 'cni' }}"
|
||||||
|
atomic: "{{ kube_network_plugin != 'cni' }}"
|
||||||
values: "{{ kubelet_csr_approver_values }}"
|
values: "{{ kubelet_csr_approver_values }}"
|
||||||
repositories:
|
repositories:
|
||||||
- name: "{{ kubelet_csr_approver_repository_name }}"
|
- name: "{{ kubelet_csr_approver_repository_name }}"
|
||||||
|
|
Loading…
Reference in New Issue