Jeff 哦哦 了解了 那接口的调用方式是不是也和2.1版本不一致了呢?我试了一下,有认证的问题,需要手动配置k8s的权限吗?
{
“kind”: “Status”,
“apiVersion”: “v1″,
“metadata”: {},
“status”: “Failure”,
“message”: "login.iam.kubesphere.io is forbidden: User \“system:anonymous\” cannot create resource \“login\” in API group \“iam.kubesphere.io\” at the cluster scope",
“reason”: “Forbidden”,
“details”: {
“group”: “iam.kubesphere.io”,
“kind”: “login”
},
“code”: 403
}