• 开发
  • win10+WSL2 GoLand 运行kubesphere后端“JWT secret MUST not be empty”

win10+WSL2 GoLand 运行kubesphere后端,报以下错误,有大佬遇到过吗?

root@LAPTOP-OD6NLRMQ:/data/go/go-workspace/src/kubesphere# go run cmd/ks-apiserver/apiserver.go

Error: JWT secret MUST not be empty

2022/08/09 14:53:31 JWT secret MUST not be empty

exit status 1

1 年 后

需要在项目跟路径下创建kubesphere.yaml文件,不能直接将kubesphere configmap内容放在文件中,需要将configmap的data值作为文件内容,否则无法解析到配置