You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execute karmadactl token create command failed (Karmada is installed by local up script), you can see:
$ karmadactl token create --print-register-command --kubeconfig ~/.kube/karmada.config --karmada-context karmada-apiserver
error: failed to get register command, err: no CA certificates found in kubeconfig
the cluster is set insecure-skip-tls-verify=true in karmada config, that is a insecure config:
What happened:
Execute
karmadactl token create
command failed (Karmada is installed bylocal up
script), you can see:the cluster is set
insecure-skip-tls-verify=true
in karmada config, that is a insecure config:What you expected to happen:
$ karmadactl token create --print-register-command --kubeconfig ~/.kube/karmada.config --karmada-context karmada-apiserver karmadactl register 172.18.0.4:5443 --token yqnbkt.muyyaah5omv1s24d --discovery-token-ca-cert-hash sha256:4f12a0f772cdaecfb7e150992f627485485d75922ddae5080bcb50a79bf22971
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kubectl-karmada version
orkarmadactl version
):The text was updated successfully, but these errors were encountered: