We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eda0fa commit f16cf55Copy full SHA for f16cf55
.github/workflows/installation-chart.yaml
@@ -124,7 +124,7 @@ jobs:
124
id: token
125
run: |
126
export KUBECONFIG=$HOME/.kube/karmada.config
127
- CMD=$(karmadactl token create --print-register-command)
+ CMD=$(karmadactl token create --print-register-command --kubeconfig $HOME/.kube/karmada.config )
128
TOKEN=$(echo "$CMD" | grep -o '\--token [^ ]*' | cut -d' ' -f2)
129
HASH=$(echo "$CMD" | grep -o '\--discovery-token-ca-cert-hash [^ ]*' | cut -d' ' -f2)
130
ENDPOINT=$(kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}')
0 commit comments