-
Notifications
You must be signed in to change notification settings - Fork 15
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
Added csm auth docs for Preapproved guid feature #470
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there another PR for the Powerflex driver settings for this feature?
content/docs/authorization/cli.md
Outdated
|
||
### karavictl tenant update | ||
|
||
Updates a tenant's approvesdc boolean flag value within CSM only for Powerflex Pre-approved Guid feature |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make this a generic command description for tenant update, this could also support other features in the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the changes.
This is the doc PR for Powerflex driver settings for this feature
#455
content/docs/authorization/cli.md
Outdated
``` | ||
$ karavictl tenant update --name Alice --approvesdc=false | ||
``` | ||
On success, there will be no output. You may run `karavictl tenant get --name <tenant-name>` to confirm the deletion occurred. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'to confirm the deletion occurred' should be changed to 'confirm the update was persisted'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made the changes
content/docs/authorization/cli.md
Outdated
|
||
##### Synopsis | ||
|
||
Updates a tenant resource within CSM (currently only for powerflex) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to mention storage system applicability here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed reference to PowerFlex here
content/docs/authorization/cli.md
Outdated
``` | ||
-h, --help help for create | ||
-n, --name string Tenant name | ||
--approvesdc boolean (Usage: --approvesdc=true/false | true value will allow the tenant's request to approve SDC pass through proxy server to powerflex array. false value will block the request to approve SDC if SDC is not in approved state) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please mention this flag is only applicable for PowerFlex. Also can reword 'true value allows the tenant's SDC approval request to be forwarded to the PowerFlex array'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
content/docs/authorization/cli.md
Outdated
``` | ||
-h, --help help for create | ||
-n, --name string Tenant name | ||
--approvesdc boolean (Usage: --approvesdc=true/false | This flag is only applicable to PowerFlex. true value allows the tenant's SDC approval request to be forwarded to the PowerFlex array. false value will block the request to approve SDC if SDC is not in approved state) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this flag is being specified as boolean then Usage: --approvesdc=true/false
isn't necessary. Can you align Tenant name and This flag ... statements?
Can this be refined to say something like Approve/Deny a tenant's SDC request
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was kept as --approvesdc=true/false
so as to not use the flag as approvesdc value
as it is for other flags.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Refined the statement as requested
* added csm auth docs for Preapproved guid feature * Updated documentation * addressed review comments * updated flag information * addressed review comments
Description
Doc updates - CSM Authorization for Powerflex Pre-approved GUIDs
GitHub Issues
List the GitHub issues impacted by this PR:
| GitHub Issue # |
| dell/csm#402 |
Checklist: