[cinder-csi-plugin] Make csi-snapshotter sidecar optional#3078
[cinder-csi-plugin] Make csi-snapshotter sidecar optional#3078234u34k wants to merge 1 commit intokubernetes:masterfrom
Conversation
|
|
|
Welcome @234u34k! |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 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 |
|
Hi @234u34k. Thanks for your PR. I'm waiting for a kubernetes 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. |
The csi-snapshotter sidecar is always deployed regardless of whether the VolumeSnapshot CRDs are installed. On clusters without the external-snapshotter CRDs, this produces continuous error logs from the sidecar attempting to list VolumeSnapshotContent resources that don't exist. Add csi.snapshotter.enabled (default true for backward compatibility) to gate the snapshotter container and its RBAC resources.
363a94e to
57fe96c
Compare
The csi-snapshotter sidecar is always deployed regardless of whether VolumeSnapshot CRDs are installed. On clusters without external-snapshotter, this produces continuous error logs.
Add
csi.snapshotter.enabled(defaulttruefor backward compatibility) to gate the snapshotter container and its RBAC resources. Users without CRDs can set it tofalse.Ref #2767