Skip to content

Clarify wording and naming of credentials in CSI #201

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

Merged

Conversation

saad-ali
Copy link
Member

Fixes #198
Alternate to #200

This PR:

  1. Loosens wording to allow CO to expose secrets as they choose (1 set of secret, 4 sets of secrets, 8 sets of secrets, etc. and specify there own mapping).
  2. Rename credentials to secrets.
  3. Remove credentials from node unpublish and nodeunstage.

Copy link
Member

@jieyu jieyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM!

@saad-ali
Copy link
Member Author

Thanks @jieyu.
@jdef @jdef @cpuguy83 could you PTAL?

csi.proto Outdated
// An SP SHALL advertise the requirements for required secret keys and
// values in documentation.
// CO SHALL permit passing through the required secrets. CO MAY expose
// secrets as a one or more map to its end users, therefore the keys
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wording is a bit funky to me.
What about something like this (assuming I'm understanding what's written):

A CO MAY send the same secrets to all RPCs, therefore the keys for all unique secrets that an SP expects must be unique across.

@saad-ali
Copy link
Member Author

@cpuguy83 Reworded. PTAL

@cpuguy83
Copy link
Contributor

Wording looks good, but looks like the old wording is still underneath.

screen shot 2018-02-22 at 9 20 00 pm

@saad-ali
Copy link
Member Author

Whoops fixed!

Copy link
Contributor

@cpuguy83 cpuguy83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@saad-ali saad-ali merged commit a166515 into container-storage-interface:master Feb 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants