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:
ChengHao Yang
2025-04-28 16:27:26 +08:00
committed by GitHub
parent 5e5e509698
commit 71a323039f
2 changed files with 7 additions and 1 deletions

View File

@@ -50,7 +50,6 @@
- { role: kubernetes/node-label, tags: node-label }
- { role: kubernetes/node-taint, tags: node-taint }
- { role: network_plugin, tags: network }
- { role: kubernetes-apps/kubelet-csr-approver, tags: kubelet-csr-approver }
- name: Install Calico Route Reflector
hosts: calico_rr

View File

@@ -104,6 +104,13 @@ dependencies:
tags:
- 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
when:
- metallb_enabled