-
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
Use sed as alternative to jq #303
Conversation
@@ -13,7 +13,7 @@ The following CSM Authorization components are installed in the specified namesp | |||
- role-service, which configures roles for tenants to be bound to | |||
- storage-service, which configures backend storage arrays for the proxy-server to foward requests to | |||
|
|||
The folloiwng third-party components are installed in the specified namespace: | |||
The following third-party components are installed in the specified namespace: |
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.
Change ""The following" to "These"
@@ -215,10 +215,10 @@ karavictl generate token --tenant Finance --insecure --addr tenant.csm-authoriza | |||
} | |||
``` | |||
|
|||
With [jq](https://stedolan.github.io/jq/), you process the above response to filter the secret manifest. For example: | |||
Process the above response to filter the secret manifest. For example using sed you can run the following: |
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.
Delete "above". Change "the following" to "this"
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.
I have reviewed this. Just a few minor edits.
Description
Add alternative method to extract the token and convert to YAML format. Added note in both Helm and RPM deployment sections. There are more than one way to do this but felt that sed is in all major distributions and not everyone may use Python's json module which is another option I thought about.
Testing
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist: