diff --git a/.github/workflows/installation-chart.yaml b/.github/workflows/installation-chart.yaml index 238ccf250d4b..1fbce580ae68 100644 --- a/.github/workflows/installation-chart.yaml +++ b/.github/workflows/installation-chart.yaml @@ -140,6 +140,13 @@ jobs: echo "Adding entry to /etc/hosts: $ENDPOINT_IP karmada-host-control-plane" echo "$ENDPOINT_IP karmada-host-control-plane" | sudo tee -a /etc/hosts + - name: Configure RBAC for certificate signing + run: | + export KUBECONFIG=$HOME/.kube/karmada.config + kubectl create clusterrolebinding karmada-bootstrap-csr \ + --clusterrole=system:node-bootstrapper \ + --group=system:bootstrappers + - name: Register cluster run: | karmadactl register ${{ steps.token.outputs.endpoint }} \