-
Couldn't load subscription status.
- Fork 287
do not generate snapshotter container if enabled: false #830
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
do not generate snapshotter container if enabled: false #830
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alexgaganashvili The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Welcome @alexgaganashvili! |
|
Hi @alexgaganashvili. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
| capabilities: | ||
| drop: | ||
| - ALL | ||
| {{- if .Values.externalSnapshotter.enabled }} |
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.
we have already controller.enableSnapshotter to control this, and even snapshot controller is disabled, some users still need this snapshotter container to run there:
| enableSnapshotter: true |
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.
If I don't need it, I can just set the resources to minimum, I guess? How do I know if I need the container to run, since I disable the snapshot controller itself during helm install?
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.
if you don't want snapshot functionality, then you could set controller.enableSnapshotter as false
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.
But the snapshotter container will still be included. I'm not sure why I need it there by default.
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.
the change is made in https://github.com/kubernetes-csi/csi-driver-nfs/pull/820/files, in next released version, you could use --set controller.enableSnapshotter=false to disable snapshotter container
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Do not include snapshotter container unless .externalSnapshotter.enabled is true
Does this PR introduce a user-facing change?: