New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move CSIVolumeFSGroupPolicy feature to GA #105940
Conversation
@dobsonj: You must be a member of the kubernetes/milestone-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your and have them propose you as an additional delegate for this responsibility. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest |
/triage accepted |
/retest |
1 similar comment
/retest |
/cc @jsafrane |
/approve |
pkg/features/kube_features.go
Outdated
@@ -835,7 +836,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS | |||
CSIStorageCapacity: {Default: true, PreRelease: featuregate.Beta}, | |||
CSIServiceAccountToken: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.23 | |||
GenericEphemeralVolume: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.25 | |||
CSIVolumeFSGroupPolicy: {Default: true, PreRelease: featuregate.Beta}, | |||
CSIVolumeFSGroupPolicy: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the deprecation policy is 2 releases, so this should be 1.25
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah thank you, updated.
pkg/apis/storage/types.go
Outdated
@@ -283,8 +283,8 @@ type CSIDriverSpec struct { | |||
// Defines if the underlying volume supports changing ownership and | |||
// permission of the volume before being mounted. | |||
// Refer to the specific FSGroupPolicy values for additional details. | |||
// This field is beta, and is only honored by servers | |||
// that enable the CSIVolumeFSGroupPolicy feature gate. | |||
// This field is only honored by servers that enable the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we can remove this line altogether as the feature is locked to on and can't be disabled.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also update the versioned (v1, v1beta, etc) types.go as well.
This PR may require API review. If so, when the changes are ready, complete the pre-review checklist and request an API review. Status of requested reviews is tracked in the API Review project. |
/label api-review |
/lgtm |
/assign @thockin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dobsonj, msau42, thockin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This updates the feature gates to move CSIVolumeFSGroupPolicy from beta to GA in 1.23.
What type of PR is this?
/kind feature
/sig storage
/milestone v1.23
Which issue(s) this PR fixes:
Enhancement: kubernetes/enhancements#1682
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:
/cc @gnufied @msau42 @xing-yang