Skip to content

Commit

Permalink
fix: add RBAC configuration for certificate signing in installation w…
Browse files Browse the repository at this point in the history
…orkflow

Signed-off-by: Akash <[email protected]>
  • Loading branch information
SkySingh04 committed Feb 4, 2025
1 parent 25ee185 commit 02d7211
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/installation-chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }} \
Expand Down

0 comments on commit 02d7211

Please sign in to comment.