File tree Expand file tree Collapse file tree 3 files changed +34
-1
lines changed
plugin/pkg/auth/authorizer/rbac/bootstrappolicy/testdata Expand file tree Collapse file tree 3 files changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ const (
230
230
231
231
// owner: @mtaufen
232
232
// alpha: v1.18
233
+ // beta: v1.20
233
234
//
234
235
// Enable OIDC discovery endpoints (issuer and JWKS URLs) for the service
235
236
// account issuer in the API server.
@@ -682,7 +683,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
682
683
TokenRequest : {Default : true , PreRelease : featuregate .Beta },
683
684
TokenRequestProjection : {Default : true , PreRelease : featuregate .Beta },
684
685
BoundServiceAccountTokenVolume : {Default : false , PreRelease : featuregate .Alpha },
685
- ServiceAccountIssuerDiscovery : {Default : false , PreRelease : featuregate .Alpha },
686
+ ServiceAccountIssuerDiscovery : {Default : true , PreRelease : featuregate .Beta },
686
687
CRIContainerLogRotation : {Default : true , PreRelease : featuregate .Beta },
687
688
CSIMigration : {Default : true , PreRelease : featuregate .Beta },
688
689
CSIMigrationGCE : {Default : false , PreRelease : featuregate .Beta }, // Off by default (requires GCE PD CSI Driver)
Original file line number Diff line number Diff line change @@ -169,6 +169,23 @@ items:
169
169
- apiGroup : rbac.authorization.k8s.io
170
170
kind : Group
171
171
name : system:unauthenticated
172
+ - apiVersion : rbac.authorization.k8s.io/v1
173
+ kind : ClusterRoleBinding
174
+ metadata :
175
+ annotations :
176
+ rbac.authorization.kubernetes.io/autoupdate : " true"
177
+ creationTimestamp : null
178
+ labels :
179
+ kubernetes.io/bootstrapping : rbac-defaults
180
+ name : system:service-account-issuer-discovery
181
+ roleRef :
182
+ apiGroup : rbac.authorization.k8s.io
183
+ kind : ClusterRole
184
+ name : system:service-account-issuer-discovery
185
+ subjects :
186
+ - apiGroup : rbac.authorization.k8s.io
187
+ kind : Group
188
+ name : system:serviceaccounts
172
189
- apiVersion : rbac.authorization.k8s.io/v1
173
190
kind : ClusterRoleBinding
174
191
metadata :
Original file line number Diff line number Diff line change @@ -1220,6 +1220,21 @@ items:
1220
1220
- /version/
1221
1221
verbs :
1222
1222
- get
1223
+ - apiVersion : rbac.authorization.k8s.io/v1
1224
+ kind : ClusterRole
1225
+ metadata :
1226
+ annotations :
1227
+ rbac.authorization.kubernetes.io/autoupdate : " true"
1228
+ creationTimestamp : null
1229
+ labels :
1230
+ kubernetes.io/bootstrapping : rbac-defaults
1231
+ name : system:service-account-issuer-discovery
1232
+ rules :
1233
+ - nonResourceURLs :
1234
+ - /.well-known/openid-configuration
1235
+ - /openid/v1/jwks
1236
+ verbs :
1237
+ - get
1223
1238
- apiVersion : rbac.authorization.k8s.io/v1
1224
1239
kind : ClusterRole
1225
1240
metadata :
You can’t perform that action at this time.
0 commit comments