Skip to content

Navigation Menu

Sign in
Sign up

add secrets field support for ControllerGetVolume Request - #515

Open
humblec wants to merge 1 commit into
container-storage-interface:master from
humblec:controller-get-volume
Open

add secrets field support for ControllerGetVolume Request #515
humblec wants to merge 1 commit into
container-storage-interface:master from
humblec:controller-get-volume

Conversation

@humblec

@humblec humblec commented Jun 16, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

At present secrets are not part of this request and some
consumers need this field for its operation.: That said,
storage backends like Ceph Cluster require the access to be
achieved with the help of authentication. For such systems this
becomes a requirement to have secrets/credentials be part of
the request CO make for its further operations or fetching the state
from the backend cluster.

Additional note for reviewer:
Similar request was raised for NodeGetVolumeStats() here #
#371
which was not reached into consensus. One concern raised in similar request (#371)
is the explosion of secrets field in the spec for various RPC calls.
In turn this secret field requirement becoming a request for pretty
much all the RPC calls.

Signed-off-by: Humble Chirammal hchiramm@redhat.com
Signed-off-by: Prasanna Kumar Kalever prasanna.kalever@redhat.com

Comment thread csi.proto Outdated
humblec force-pushed the controller-get-volume branch 2 times, most recently from f667a20 to 9b2faaa Compare June 16, 2022 09:50
At present secrets are not part of this request and some
consumers need this field for its operation.: That said,
storage backends like Ceph Cluster require the access to be
achieved with the help of authentication. For such systems this
becomes a requirement to have secrets/credentials be part of
the request CO make for its further operations or fetching the state
from the backend cluster.
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
humblec force-pushed the controller-get-volume branch from 9b2faaa to 1cf046f Compare June 16, 2022 10:18

Copy link
Copy Markdown
Contributor

Do we also need a corresponding field in the PV?

humblec commented Sep 21, 2022

Copy link
Copy Markdown
Contributor Author

Do we also need a corresponding field in the PV?

@xing-yang I was planning to have the PV/CO side ( implementation) details listed in Kube issue as the field and implementation require some thoughts as discussed in #371. Considering CSI spec support can be independent to the implementation of CO, thought of pulling this first.

humblec commented Sep 22, 2022

Copy link
Copy Markdown
Contributor Author

Cc @jdef

bswartz commented Jan 18, 2023

Copy link
Copy Markdown
Contributor

I agree that we need to pass secrets down to ControllerGetVolume, but I'd prefer to do it in such a way that doesn't require COs to store ever more secrets (as I mentioned in #371). Is anyone working on a proposal to constrain secret handling?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@Madhu-1 Madhu-1 Madhu-1 left review comments
Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /