1Panel-dev / webkubectl

Run kubectl command in Web Browser.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

YangDevops opened this issue · comments

commented

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

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

commented

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