Skip to content

Commit d1105c6

Browse files
committed
fix: update kubeconfig path in token creation command for installation workflow
Signed-off-by: Akash <[email protected]>
1 parent de43a26 commit d1105c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/installation-chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
id: token
125125
run: |
126126
export KUBECONFIG=$HOME/.kube/karmada.config
127-
CMD=$(karmadactl token create --print-register-command)
127+
CMD=$(karmadactl token create --print-register-command --kubeconfig /etc/karmada/karmada-apiserver.config)
128128
TOKEN=$(echo "$CMD" | grep -o '\--token [^ ]*' | cut -d' ' -f2)
129129
HASH=$(echo "$CMD" | grep -o '\--discovery-token-ca-cert-hash [^ ]*' | cut -d' ' -f2)
130130
ENDPOINT=$(echo "$CMD" | awk '{print $2}')

0 commit comments

Comments
 (0)