创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。如果未按模板创建问题,管理员有权关闭问题。
确保帖子格式清晰易读,用 markdown code block 语法格式化代码块。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
Kubernetes版本信息
Client Version: v1.28.1
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.24.6-aliyun.1
WARNING: version difference between client (1.28) and server (1.24) exceeds the supported minor version skew of +/-1
KubeSphere版本信息
在已有k8s集群安装的,使用脚本cluster-configuration-3.4.1.yaml和kubesphere-installer-3.4.1.yaml,版本为:3.4.1
问题是什么
准备接入阿里云idaas和ldap,配置如下:
oauthOptions:
accessTokenInactivityTimeout: 30m
accessTokenMaxAge: 1h
identityProviders:
- mappingMethod: auto
name: LDAP
provider:
host: xx.xx.xx.xx:389
loginAttribute: uid
mailAttribute: mail
managerDN: cn=admin,dc=xx,dc=com
managerPassword: xxx
userSearchBase: dc=xx,dc=com
type: LDAPIdentityProvider
- mappingMethod: mixed
name: aliyunidaas
provider:
clientID: appxxx
clientSecret: appxxx
endpoint:
authURL: https://aliyunidaas.com/login/app/asdfasdasdf/oauth2/authorize
tokenURL: https://eiam-api-cn-hangzhou.aliyuncs.com/v2/asdf/asdfasdf/oauth2/token
userInfoUrl: https://eiam-api-cn-hangzhou.aliyuncs.com/v2/asdfasd/asdfasdf/oauth2/userinfo
redirectURL: http://ks-cs.xx.com/oauth/redirect
scopes:
- read
- email
type: AliyunIDaasProvider
然后删除installer,并重启apiserver,结果apiserver,报如下错误:

是新版本不支持阿里云idaas??劳烦解答,感谢