mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 13:54:37 +03:00
Fix: kubelet-csr-approver moves to regular application installation (#12141)
This commit fixed the process to ensure that CCM is installed first to avoid the chicken-and-egg problem. Signed-off-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
This commit is contained in:
@@ -50,7 +50,6 @@
|
|||||||
- { role: kubernetes/node-label, tags: node-label }
|
- { role: kubernetes/node-label, tags: node-label }
|
||||||
- { role: kubernetes/node-taint, tags: node-taint }
|
- { role: kubernetes/node-taint, tags: node-taint }
|
||||||
- { role: network_plugin, tags: network }
|
- { role: network_plugin, tags: network }
|
||||||
- { role: kubernetes-apps/kubelet-csr-approver, tags: kubelet-csr-approver }
|
|
||||||
|
|
||||||
- name: Install Calico Route Reflector
|
- name: Install Calico Route Reflector
|
||||||
hosts: calico_rr
|
hosts: calico_rr
|
||||||
|
|||||||
@@ -104,6 +104,13 @@ dependencies:
|
|||||||
tags:
|
tags:
|
||||||
- gateway_api
|
- gateway_api
|
||||||
|
|
||||||
|
- role: kubernetes-apps/kubelet-csr-approver
|
||||||
|
when:
|
||||||
|
- kubelet_csr_approver_enabled
|
||||||
|
- inventory_hostname == groups['kube_control_plane'][0]
|
||||||
|
tags:
|
||||||
|
- kubelet-csr-approver
|
||||||
|
|
||||||
- role: kubernetes-apps/metallb
|
- role: kubernetes-apps/metallb
|
||||||
when:
|
when:
|
||||||
- metallb_enabled
|
- metallb_enabled
|
||||||
|
|||||||
Reference in New Issue
Block a user