deprecate allow-inline-volume-key-access-with-identity flag (no-op)#3148
deprecate allow-inline-volume-key-access-with-identity flag (no-op)#3148srranjan-sri wants to merge 1 commit into
Conversation
|
Hi @srranjan-sri. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Regular contributors should join the org to skip this step. Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions 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-sigs/prow repository. |
d440778 to
5cf0a61
Compare
|
/ok-to-test |
There was a problem hiding this comment.
Pull request overview
Deprecates the --allow-inline-volume-key-access-with-identity flag by making it a no-op and ensuring inline/ephemeral volume behavior no longer depends on this setting, while updating Helm chart documentation and templates to reflect the deprecation.
Changes:
- Remove the
allowInlineVolumeKeyAccessWithIdentityfield from the runtimeDriverand stop using it in inline/ephemeral volume logic. - Emit a warning at startup if the deprecated flag is set to
true, clarifying it has no effect. - Update Helm values, templates, and chart README to mark the setting as deprecated/no-op.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| pkg/azurefile/nodeserver.go | Removes conditional behavior tied to the deprecated flag for ephemeral volume handling. |
| pkg/azurefile/azurefile.go | Drops the Driver field and adds a deprecation warning when the option is enabled. |
| pkg/azurefile/azurefile_options.go | Updates the CLI flag help text to clearly indicate deprecation and no-op behavior. |
| charts/README.md | Marks the Helm value as deprecated/no-op in the configuration table. |
| charts/latest/azurefile-csi-driver/values.yaml | Adds an inline deprecation note for the Helm value. |
| charts/latest/azurefile-csi-driver/templates/csi-azurefile-node.yaml | Annotates the node argument as deprecated/no-op. |
| charts/latest/azurefile-csi-driver/templates/csi-azurefile-node-windows.yaml | Annotates the windows node argument as deprecated/no-op. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mittachaitu, srranjan-sri The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
5cf0a61 to
60fb68b
Compare
|
/lgtm |
60fb68b to
7a49fb4
Compare
|
New changes are detected. LGTM label has been removed. |
7a49fb4 to
24a1562
Compare
f54191d to
452adcb
Compare
|
/retest |
452adcb to
b1b31c3
Compare
| - "--allow-empty-cloud-config={{ .Values.node.allowEmptyCloudConfig }}" | ||
| - "--enable-get-volume-stats={{ .Values.feature.enableGetVolumeStats }}" | ||
| - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" | ||
| - "--allow-inline-volume-key-access-with-identity={{ .Values.node.allowInlineVolumeKeyAccessWithIdentity }}" # DEPRECATED: no-op, will be removed in a future release |
There was a problem hiding this comment.
Let's remove the no-op since the functionality stays for the next 2 or so releases.
What type of PR is this?
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #
Requirements:
Special notes for your reviewer:
Release note: