[WIP]feat: support allowCrossTenantReplication storage class parameter#3049
[WIP]feat: support allowCrossTenantReplication storage class parameter#3049andyzhangx wants to merge 2 commits intomasterfrom
Conversation
Add allowcrosstenantreplication parameter to StorageClass to control cross-tenant object replication on the storage account. When set to false, the storage account cannot be used as source or destination for cross-tenant replication, following least-privilege principles.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: andyzhangx The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Remove direct vendor modification for AllowCrossTenantReplication. This change should come from cloud-provider-azure first, then be consumed via a vendor bump in this repo.
|
@andyzhangx: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
What
Add
allowcrosstenantreplicationparameter to StorageClass to control cross-tenant object replication on the storage account.Why
Users may want to disable cross-tenant object replication for security compliance (least-privilege). Currently there's no way to configure this via the CSI driver.
Dependency
AllowCrossTenantReplicationtoAccountOptions. After that PR merges, this repo needs a vendor bump before this PR can fully work.Usage
Changes
allowcrosstenantreplicationfield constant inazurefile.gocontrollerserver.goand pass toAccountOptions