Skip to content

Commit

Permalink
Remove ExpandPersistentVolumes feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
mengjiao-liu committed Dec 15, 2022
1 parent 8a9a294 commit a3d00c1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
8 changes: 0 additions & 8 deletions pkg/features/kube_features.go
Original file line number Diff line number Diff line change
Expand Up @@ -315,12 +315,6 @@ const (
// Lock to default and remove after v1.22 based on user feedback that should be reflected in KEP #1972 update
ExecProbeTimeout featuregate.Feature = "ExecProbeTimeout"

// owner: @gnufied
// beta: v1.11
// GA: 1.24
// Ability to Expand persistent volumes
ExpandPersistentVolumes featuregate.Feature = "ExpandPersistentVolumes"

// owner: @gjkim42
// kep: https://kep.k8s.io/2595
// alpha: v1.22
Expand Down Expand Up @@ -982,8 +976,6 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS

ExecProbeTimeout: {Default: true, PreRelease: featuregate.GA}, // lock to default and remove after v1.22 based on KEP #1972 update

ExpandPersistentVolumes: {Default: true, PreRelease: featuregate.GA}, // remove in 1.26

ExpandedDNSConfig: {Default: true, PreRelease: featuregate.Beta},

ExperimentalHostUserNamespaceDefaultingGate: {Default: false, PreRelease: featuregate.Beta},
Expand Down
1 change: 0 additions & 1 deletion test/integration/auth/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,6 @@ func TestNodeAuthorizer(t *testing.T) {
// re-create a pod as an admin to add object references
expectAllowed(t, createNode2NormalPod(superuserClient))

// ExpandPersistentVolumes feature enabled
expectForbidden(t, updatePVCCapacity(node1Client))
expectAllowed(t, updatePVCCapacity(node2Client))
expectForbidden(t, updatePVCPhase(node2Client))
Expand Down

0 comments on commit a3d00c1

Please sign in to comment.