Skip to content

Commit 4f50f99

Browse files
authored
Merge pull request kubernetes#103685 from mengjiao-liu/remove-ServiceAccountIssuerDiscovery-featuregate
Remove ServiceAccountIssuerDiscovery feature gate
2 parents a977c5f + 7911a08 commit 4f50f99

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

pkg/features/kube_features.go

-12
Original file line numberDiff line numberDiff line change
@@ -156,17 +156,6 @@ const (
156156
// to the API server.
157157
BoundServiceAccountTokenVolume featuregate.Feature = "BoundServiceAccountTokenVolume"
158158

159-
// owner: @mtaufen
160-
// alpha: v1.18
161-
// beta: v1.20
162-
// stable: v1.21
163-
//
164-
// Enable OIDC discovery endpoints (issuer and JWKS URLs) for the service
165-
// account issuer in the API server.
166-
// Note these endpoints serve minimally-compliant discovery docs that are
167-
// intended to be used for service account token verification.
168-
ServiceAccountIssuerDiscovery featuregate.Feature = "ServiceAccountIssuerDiscovery"
169-
170159
// owner: @saad-ali
171160
// ga: v1.10
172161
//
@@ -816,7 +805,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
816805
SupportPodPidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
817806
SupportNodePidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
818807
BoundServiceAccountTokenVolume: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
819-
ServiceAccountIssuerDiscovery: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22
820808
CSIMigration: {Default: true, PreRelease: featuregate.Beta},
821809
CSIMigrationGCE: {Default: false, PreRelease: featuregate.Beta}, // Off by default (requires GCE PD CSI Driver)
822810
InTreePluginGCEUnregister: {Default: false, PreRelease: featuregate.Alpha},

pkg/kubeapiserver/options/authentication.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -339,8 +339,7 @@ func (o *BuiltInAuthenticationOptions) AddFlags(fs *pflag.FlagSet) {
339339
"Overrides the URI for the JSON Web Key Set in the discovery doc served at "+
340340
"/.well-known/openid-configuration. This flag is useful if the discovery doc"+
341341
"and key set are served to relying parties from a URL other than the "+
342-
"API server's external (as auto-detected or overridden with external-hostname). "+
343-
"Only valid if the ServiceAccountIssuerDiscovery feature gate is enabled.")
342+
"API server's external (as auto-detected or overridden with external-hostname). ")
344343

345344
// Deprecated in 1.13
346345
fs.StringSliceVar(&o.APIAudiences, "service-account-api-audiences", o.APIAudiences, ""+

0 commit comments

Comments
 (0)