Skip to content

deprecate allow-inline-volume-key-access-with-identity flag (no-op)#3148

Open
srranjan-sri wants to merge 1 commit into
kubernetes-sigs:masterfrom
srranjan-sri:srranjan/deprecate-allow-inline-volume-key
Open

deprecate allow-inline-volume-key-access-with-identity flag (no-op)#3148
srranjan-sri wants to merge 1 commit into
kubernetes-sigs:masterfrom
srranjan-sri:srranjan/deprecate-allow-inline-volume-key

Conversation

@srranjan-sri
Copy link
Copy Markdown

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:

none

@k8s-ci-robot k8s-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 11, 2026
@k8s-ci-robot k8s-ci-robot requested review from cvvz and gnufied May 11, 2026 16:50
@k8s-ci-robot k8s-ci-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label May 11, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work.

Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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-sigs/prow repository.

@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels May 11, 2026
@srranjan-sri srranjan-sri force-pushed the srranjan/deprecate-allow-inline-volume-key branch from d440778 to 5cf0a61 Compare May 11, 2026 17:07
@k8s-ci-robot k8s-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 11, 2026
@landreasyan
Copy link
Copy Markdown

/ok-to-test

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels May 11, 2026
@landreasyan landreasyan requested a review from Copilot May 11, 2026 17:10
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 allowInlineVolumeKeyAccessWithIdentity field from the runtime Driver and 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.

Copy link
Copy Markdown
Contributor

@mittachaitu mittachaitu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!

@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mittachaitu, srranjan-sri
Once this PR has been reviewed and has the lgtm label, please assign andyzhangx for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@srranjan-sri srranjan-sri force-pushed the srranjan/deprecate-allow-inline-volume-key branch from 5cf0a61 to 60fb68b Compare May 11, 2026 19:46
@landreasyan landreasyan requested review from andyzhangx May 11, 2026 20:56
@landreasyan
Copy link
Copy Markdown

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 11, 2026
Comment thread pkg/azurefile/azurefile.go
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 7 out of 8 changed files in this pull request and generated no new comments.

@srranjan-sri srranjan-sri force-pushed the srranjan/deprecate-allow-inline-volume-key branch from 60fb68b to 7a49fb4 Compare May 13, 2026 04:45
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 13, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

New changes are detected. LGTM label has been removed.

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels May 13, 2026
@srranjan-sri srranjan-sri force-pushed the srranjan/deprecate-allow-inline-volume-key branch from 7a49fb4 to 24a1562 Compare May 13, 2026 04:51
Comment thread pkg/azurefile/nodeserver.go Outdated
@srranjan-sri srranjan-sri force-pushed the srranjan/deprecate-allow-inline-volume-key branch 2 times, most recently from f54191d to 452adcb Compare May 13, 2026 08:44
@srranjan-sri
Copy link
Copy Markdown
Author

/retest

@srranjan-sri srranjan-sri force-pushed the srranjan/deprecate-allow-inline-volume-key branch from 452adcb to b1b31c3 Compare May 13, 2026 18:45
- "--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
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's remove the no-op since the functionality stays for the next 2 or so releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants