Skip to content

Commit 21e3f20

Browse files
authored
fix: also allow kubectl client id to authenticate in workspace (#120)
* fix: also allow kubectl client id to authenticate in workspace * chore: also upgrade chart version
1 parent 880a9e7 commit 21e3f20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/subroutine/manifests/organizationIdp/repository.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ spec:
77
interval: 5m
88
url: oci://ghcr.io/platform-mesh/helm-charts/organization-idp
99
ref:
10-
semver: "0.3.0"
10+
semver: "0.4.0"

internal/subroutine/worksapce_authorization.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func (r *workspaceAuthSubroutine) Process(ctx context.Context, instance runtimeo
6969
Issuer: kcptenancyv1alphav1.Issuer{
7070
URL: fmt.Sprintf("https://%s/keycloak/realms/%s", r.cfg.BaseDomain, workspaceName),
7171
AudienceMatchPolicy: kcptenancyv1alphav1.AudienceMatchPolicyMatchAny,
72-
Audiences: []string{workspaceName},
72+
Audiences: []string{workspaceName, "kubectl"},
7373
},
7474
ClaimMappings: kcptenancyv1alphav1.ClaimMappings{
7575
Groups: kcptenancyv1alphav1.PrefixedClaimOrExpression{

0 commit comments

Comments
 (0)