feat(auth): support multiple identity provider associations (#6299)

Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
hongming
2025-02-28 16:48:36 +08:00
committed by GitHub
parent 99d2408c34
commit 018f6045ee
12 changed files with 177 additions and 221 deletions

View File

@@ -54,8 +54,7 @@ const (
ScopeLabel = "iam.kubesphere.io/scope"
UserReferenceLabel = "iam.kubesphere.io/user-ref"
RoleReferenceLabel = "iam.kubesphere.io/role-ref"
IdentifyProviderLabel = "iam.kubesphere.io/identify-provider"
OriginUIDLabel = "iam.kubesphere.io/origin-uid"
IdentityProviderAnnotation = "iam.kubesphere.io/identity-provider"
ServiceAccountReferenceLabel = "iam.kubesphere.io/serviceaccount-ref"
FieldEmail = "email"
ExtraEmail = FieldEmail
@@ -71,7 +70,6 @@ const (
NamespaceAdmin = "admin"
ClusterAdmin = "cluster-admin"
PreRegistrationUser = "system:pre-registration"
OTPAuthRequiredUser = "system:otp-auth-required"
ResourcePluralGroup = "groups"
GroupReferenceLabel = "iam.kubesphere.io/group-ref"
GroupParent = "iam.kubesphere.io/group-parent"