1Panel-dev / webkubectl

Run kubectl command in Web Browser.
Apache License 2.0
854 stars 120 forks source link

使用api获取的token打开url 报错 base64: invalid input #16

Closed YangDevops closed 3 years ago

YangDevops commented 3 years ago

Welcome to Web Kubectl, try kubectl --help. base64: invalid input

liqiang-fit2cloud commented 3 years ago

调用的哪个API获取的token,如果是https://github.com/KubeOperator/webkubectl#get-token-by-kubeconfig-file 的话,kubeconfig文件的内容要base64一下。 image

YangDevops commented 3 years ago

可以了,我BASE64那块写的有问题。 感谢哈