lynxcat 创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。 你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。 发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。 操作系统信息 物理机,Centos7.5 4C/8G Kubernetes版本信息 例如:v1.20.5 单节点 V3.2.0版本 API调用不成功 请求已经进入到apiserver中
hongming lynxcat 需要带上 client_id 和 client_secret,可以在 cc 中配置也可以使用默认的 client_id https://github.com/kubesphere/ks-installer/blob/master/roles/ks-core/config/templates/kubesphere-config.yaml.j2#L25-L29 curl -X POST 'https://<KS-APISERVER>/oauth/token' -H 'Content-Type: application/x-www-form-urlencoded' --data-urlencode 'grant_type=password' --data-urlencode 'username=admin' --data-urlencode 'password=P@88w0rd' --data-urlencode 'client_id=kubesphere' --data-urlencode 'client_secret=kubesphere'