-
Notifications
You must be signed in to change notification settings - Fork 373
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
Why don't some CSI requests have [parameters] or [secrets]? #484
Comments
Do you have a use case that is blocked by the current API?
…On Mon, Jun 21, 2021, 9:51 PM thonic ***@***.***> wrote:
Referring to secrets requirements
<https://github.com/container-storage-interface/spec/blob/master/spec.md#secrets-requirements>,
secrets MAY be required by plugin to complete a RPC request. My
understanding is that all volume operations in one SP context(e.g.
StorageClass in k8s) share the same parameters or secrets, while all
snapshot operations share another pack of parameters or secrets.
So why don't some CSI requests have parameters or secrets? I found that
NodeUnstageVolumeRequest, NodeUnpublishVolumeRequest, ListVolumesRequest
and some others don't have the 2 fields. By comparison, all snapshot
requests have the field secrets.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#484>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLDULMETCE7HMFEQB5TTT7UAHANCNFSM47CWJRXA>
.
|
@jdef not yet. But someone else may meet problems. For example, storage vendors may expect their plugin serves in front of multiple storage backends which have different credentials(#461). This may require all volume operations contain those informations. |
@jdef On the other hand, also I'm not sure whether this use case should be supported. Maybe this should be solved by storage backends themselves. |
For the 3 API calls you mention explicitly, I believe it was intentional to
exclude per volume parameters and/or secrets.
Credentials/parameters needed to access a SP backend API, that are not
volume specific, should be provided at plug-in deploy-time by the operator
and/or process that runs the plug-in itself.
If there is no blocked use case, please close this ticket.
…On Tue, Jun 22, 2021, 1:49 AM thonic ***@***.***> wrote:
@jdef <https://github.com/jdef> On the other hand, also I'm not sure
whether this use case should be supported. Maybe this should be solved by
storage backends themselves.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#484 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR5KLDHRONCC5X4AN4QMX3TUAP45ANCNFSM47CWJRXA>
.
|
@jdef By the same logic, is the |
Referring to secrets requirements, secrets MAY be required by plugin to complete a RPC request. My understanding is that all volume operations in one SP context(e.g. StorageClass in k8s) share the same
parameters
orsecrets
, while all snapshot operations share another pack ofparameters
orsecrets
.So why don't some CSI requests have
parameters
orsecrets
? I found thatNodeUnstageVolumeRequest
,NodeUnpublishVolumeRequest
,ListVolumesRequest
and some others don't have the 2 fields. By comparison, all snapshot requests have the fieldsecrets
.The text was updated successfully, but these errors were encountered: