-
Notifications
You must be signed in to change notification settings - Fork 173
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
Use WCP FSS configmap in CSI driver for features dependent on WCP service #2780
Use WCP FSS configmap in CSI driver for features dependent on WCP service #2780
Conversation
/ok-to-test |
6d853fe
to
8592ebd
Compare
/approve |
This change makes it problematic to write unit tests since we are relying on the presence of an actual config map. |
We can skip fetching the WCP config map in unit tests if we override the |
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.
I have some minor comments. See if those needs to be addressed or can be deferred for now.
Overall, changes look good to me
/approve
pkg/csi/service/common/commonco/k8sorchestrator/k8sorchestrator.go
Outdated
Show resolved
Hide resolved
10cd1e2
to
eb563d5
Compare
…vice Optimize the number of IsFSSEnabled calls for WCP defined FSS
eb563d5
to
badaf02
Compare
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: akankshapanse, chethanv28, divyenpatel, shalini-b 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 this PR does / why we need it: Use WCP FSS instead of CSI specific FSS when a CSI feature has dependency on WCP services.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Testing done:
Tested CreateVolume & DeleteVolume in stretched supervisor after removing FSS from csi-feature-states configmap:
Special notes for your reviewer:
Release note: