mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 13:37:30 +00:00
Merge pull request #103685 from mengjiao-liu/remove-ServiceAccountIssuerDiscovery-featuregate
Remove ServiceAccountIssuerDiscovery feature gate
This commit is contained in:
commit
4f50f99cc6
@ -156,17 +156,6 @@ const (
|
|||||||
// to the API server.
|
// to the API server.
|
||||||
BoundServiceAccountTokenVolume featuregate.Feature = "BoundServiceAccountTokenVolume"
|
BoundServiceAccountTokenVolume featuregate.Feature = "BoundServiceAccountTokenVolume"
|
||||||
|
|
||||||
// owner: @mtaufen
|
|
||||||
// alpha: v1.18
|
|
||||||
// beta: v1.20
|
|
||||||
// stable: v1.21
|
|
||||||
//
|
|
||||||
// Enable OIDC discovery endpoints (issuer and JWKS URLs) for the service
|
|
||||||
// account issuer in the API server.
|
|
||||||
// Note these endpoints serve minimally-compliant discovery docs that are
|
|
||||||
// intended to be used for service account token verification.
|
|
||||||
ServiceAccountIssuerDiscovery featuregate.Feature = "ServiceAccountIssuerDiscovery"
|
|
||||||
|
|
||||||
// owner: @saad-ali
|
// owner: @saad-ali
|
||||||
// ga: v1.10
|
// ga: v1.10
|
||||||
//
|
//
|
||||||
@ -816,7 +805,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
SupportPodPidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
SupportPodPidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
||||||
SupportNodePidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
SupportNodePidsLimit: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
||||||
BoundServiceAccountTokenVolume: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
BoundServiceAccountTokenVolume: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23
|
||||||
ServiceAccountIssuerDiscovery: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.22
|
|
||||||
CSIMigration: {Default: true, PreRelease: featuregate.Beta},
|
CSIMigration: {Default: true, PreRelease: featuregate.Beta},
|
||||||
CSIMigrationGCE: {Default: false, PreRelease: featuregate.Beta}, // Off by default (requires GCE PD CSI Driver)
|
CSIMigrationGCE: {Default: false, PreRelease: featuregate.Beta}, // Off by default (requires GCE PD CSI Driver)
|
||||||
InTreePluginGCEUnregister: {Default: false, PreRelease: featuregate.Alpha},
|
InTreePluginGCEUnregister: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
@ -339,8 +339,7 @@ func (o *BuiltInAuthenticationOptions) AddFlags(fs *pflag.FlagSet) {
|
|||||||
"Overrides the URI for the JSON Web Key Set in the discovery doc served at "+
|
"Overrides the URI for the JSON Web Key Set in the discovery doc served at "+
|
||||||
"/.well-known/openid-configuration. This flag is useful if the discovery doc"+
|
"/.well-known/openid-configuration. This flag is useful if the discovery doc"+
|
||||||
"and key set are served to relying parties from a URL other than the "+
|
"and key set are served to relying parties from a URL other than the "+
|
||||||
"API server's external (as auto-detected or overridden with external-hostname). "+
|
"API server's external (as auto-detected or overridden with external-hostname). ")
|
||||||
"Only valid if the ServiceAccountIssuerDiscovery feature gate is enabled.")
|
|
||||||
|
|
||||||
// Deprecated in 1.13
|
// Deprecated in 1.13
|
||||||
fs.StringSliceVar(&o.APIAudiences, "service-account-api-audiences", o.APIAudiences, ""+
|
fs.StringSliceVar(&o.APIAudiences, "service-account-api-audiences", o.APIAudiences, ""+
|
||||||
|
Loading…
Reference in New Issue
Block a user