Skip to content
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

Merged
merged 5 commits into from
Feb 28, 2023

Conversation

ashleyvjoy
Copy link
Contributor

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:

  • Have you run a grammar and spell checks against your submission?
  • Have you tested the changes locally?
  • Have you tested whether the hyperlinks are working properly?
  • Did you add the examples wherever applicable?
  • Have you added high-resolution images?

Copy link
Contributor

@sharmilarama sharmilarama left a 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?


### karavictl tenant update

Updates a tenant's approvesdc boolean flag value within CSM only for Powerflex Pre-approved Guid feature
Copy link
Contributor

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.

Copy link
Contributor Author

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

```
$ 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.
Copy link
Contributor

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'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

made the changes


##### Synopsis

Updates a tenant resource within CSM (currently only for powerflex)
Copy link
Contributor

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

Copy link
Contributor Author

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

```
-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)
Copy link
Contributor

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'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

```
-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)
Copy link
Contributor

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 ?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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

@ashleyvjoy ashleyvjoy merged commit 8e5e699 into release-1.6.0 Feb 28, 2023
@ashleyvjoy ashleyvjoy deleted the approvesdc-pflex branch February 28, 2023 17:35
rajkumar-palani pushed a commit that referenced this pull request Mar 9, 2023
* added csm auth docs for Preapproved guid feature

* Updated documentation

* addressed review comments

* updated flag information

* addressed review comments
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.

4 participants