-
Notifications
You must be signed in to change notification settings - Fork 374
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
Add volume mode conversion flag to snapshot-controller manifest #790
Conversation
That's not enough for me to understand why this flag is needed. Can you add an explanation, ideally in the commit message? |
/release-note none |
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.
It seems fragile for a test to depend on a comment in a yaml file. I would instead suggest parsing the yaml if you need to do this in the tests
@ggriffiths This seems like the simplest solution to have our existing prow jobs run local e2e test suites without any major changes to the scripts. Here's some previous discussion we had on this topic and why updating the feature flags on the go (in the tests) may not be feasible - kubernetes-csi/csi-release-tools#206 (comment) I could add a disclaimer here stating the importance of keeping this line |
@pohly can we merge this to unblock kubernetes-csi/external-provisioner#832? |
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.
/lgtm
@@ -37,4 +37,5 @@ spec: | |||
args: | |||
- "--v=5" | |||
- "--leader-election=true" | |||
# end snapshot controller args |
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.
Can you add the following comments here so we remember not to remove this?
Adds a marker to the snapshot-controller manifests. This is needed to enable feature gates in CSI prow jobs. In https://github.com/kubernetes-csi/csi-release-tools/pull/209, the snapshot-controller YAML is updated to add --prevent-volume-mode-conversion=true so that the feature can be enabled for certain e2e tests.
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.
done
@RaunakShah Please add a release note. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pohly, RaunakShah, xing-yang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This PR adds a marker to the snapshot-controller manifests. This is needed to enable feature gates in CSI prow jobs. In kubernetes-csi/csi-release-tools#209, the snapshot-controller YAML is updated to add
--prevent-volume-mode-conversion=true
so that the feature can be enabled for certain e2e tests.Also related to kubernetes-csi/csi-driver-host-path#379
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: