-
Notifications
You must be signed in to change notification settings - Fork 620
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
[manila-csi-plugin] make auth more tolerant #2758
base: master
Are you sure you want to change the base?
Conversation
Remove dependency on a couple of fields where the logic was wrong. For example, these fields do not necessarily depend on a password being set, as we could be using application credentials. This prevents manila driver from entering an error state when it finds unnecessary fields in the clouds.yaml. It now simply ignores them. Fixes kubernetes#2757.
Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages. The list of commits with invalid commit messages:
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. I understand the commands that are listed here. |
[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.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I never had issues with application credentials and manila CSI. Are you sure this is not related to a cloud.yaml parser code? |
@kayrus I have provided more context in the related issue. You'll get an error when using application credentials, and leaving |
What this PR does / why we need it: Remove dependency on a couple of fields where the logic was wrong. For example, these fields do not necessarily depend on a password being set, as we could be using application credentials.
This prevents manila driver from entering an error state when it finds unnecessary fields in the clouds.yaml. It now simply ignores them.
Which issue this PR fixes(if applicable):
Fixes #2757
Special notes for reviewers:
The fix is in
pkg/client/client.go
so presumably affects all binaries?Release note: