-
Notifications
You must be signed in to change notification settings - Fork 2k
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
csi: support Secrets parameter in CSI RPCs #7923
Conversation
b752a52
to
9b1fc89
Compare
I don't have a Ceph setup to validate this end-to-end yet, but fortunately some of the other plugins log that they got the secrets (sometimes just insecurely printing them!) if you send them, even if the plugin doesn't use it. Hostpath plugin node publish operations:
EBS register a volume:
EBS controller publish volume:
EBS node publish (note that node unpublish has no secrets options):
EBS controller unpublish:
|
CSI plugins can require credentials for some publishing and unpublishing workflow RPCs. Secrets are configured at the time of volume registration, stored in the volume struct, and then passed around as an opaque map by Nomad to the plugins.
should |
I missed it in the stub but we're redacting it in the full response only in the HTTP API: https://github.com/hashicorp/nomad/pull/7923/files#diff-91535e68265a2446b33edbefba3453d0. Will fix to include the stub response too. |
I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #7668
CSI plugins can require credentials for some publishing and unpublishing workflow RPCs. Secrets are configured at the time of volume registration, stored in the volume struct, and then passed around as an opaque map by Nomad to the plugins.
I've left some comments in this PR as I was working through it to help us implement #7771 and #7670 later, but we're running out of time in the 0.11.2 window to complete all three and make sure it's tested completely.