Skip to content

OSDOCS-16406: Suggested CLI changes to comply with product documentation#3345

Open
EricPonvelle wants to merge 1 commit into
openshift:masterfrom
EricPonvelle:OSDOCS-16406_rosa-updates
Open

OSDOCS-16406: Suggested CLI changes to comply with product documentation#3345
EricPonvelle wants to merge 1 commit into
openshift:masterfrom
EricPonvelle:OSDOCS-16406_rosa-updates

Conversation

@EricPonvelle

@EricPonvelle EricPonvelle commented Jul 7, 2026

Copy link
Copy Markdown

This PR addresses:

Detailed Description of the Issue

This PR addresses some language issues that were not in compliance with product documentation standards. Since we generate our CLI documentation from this repo, the updates had to be done here. To that end, I have changed the descriptions on a few ROSA commands so that they have the full names rather than acronyms.

Type of Change

  • feat - adds a new user-facing capability.
  • fix - resolves an incorrect behavior or bug.
  • docs - updates documentation only.
  • style - formatting or naming changes with no logic impact.
  • refactor - code restructuring with no behavior change.
  • test - adds or updates tests only.
  • chore - maintenance work (tooling, housekeeping, non-product code).
  • build - changes build system, packaging, or dependencies for build output.
  • ci - changes CI pipelines, jobs, or automation workflows.
  • perf - improves performance without changing intended behavior.

Developer Verification Checklist

  • Commit subject/title follows [JIRA-TICKET] | [TYPE]: <MESSAGE>.
  • PR description clearly explains both what changed and why.
  • Relevant Jira/GitHub issues and related PRs are linked.
  • make install-hooks has been run in this clone.
  • Tests were added/updated where appropriate.
  • I manually tested the change.
  • make test passes.
  • make lint passes.
  • make rosa passes.
  • Documentation or repo-local agent guidance was added/updated where appropriate.
  • Any risk, limitation, or follow-up work is documented.

Summary by CodeRabbit

  • Documentation
    • Improved CLI help text across multiple commands (create, delete, list, link, unlink, and verify) with clearer descriptions and standardized capitalization.
    • Expanded common abbreviations (DNS, IDP, OIDC, IAM) into full terms in user-facing wording.
    • Updated help content to better reference “Red Hat Hybrid Cloud Console” and more precisely describe identity and access management and cluster context.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jul 7, 2026
@openshift-ci-robot

openshift-ci-robot commented Jul 7, 2026

Copy link
Copy Markdown

@EricPonvelle: This pull request references OSDOCS-16406 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set.

Details

In response to this:

This PR addresses:

Detailed Description of the Issue

This PR addresses some language issues that were not in compliance with product documentation standards. Since we generate our CLI documentation from this repo, the updates had to be done here. To that end, I have changed the descriptions on a few ROSA commands so that they have the full names rather than acronyms.

Type of Change

  • feat - adds a new user-facing capability.
  • fix - resolves an incorrect behavior or bug.
  • docs - updates documentation only.
  • style - formatting or naming changes with no logic impact.
  • refactor - code restructuring with no behavior change.
  • test - adds or updates tests only.
  • chore - maintenance work (tooling, housekeeping, non-product code).
  • build - changes build system, packaging, or dependencies for build output.
  • ci - changes CI pipelines, jobs, or automation workflows.
  • perf - improves performance without changing intended behavior.

Developer Verification Checklist

  • Commit subject/title follows [JIRA-TICKET] | [TYPE]: <MESSAGE>.
  • PR description clearly explains both what changed and why.
  • Relevant Jira/GitHub issues and related PRs are linked.
  • make install-hooks has been run in this clone.
  • Tests were added/updated where appropriate.
  • I manually tested the change.
  • make test passes.
  • make lint passes.
  • make rosa passes.
  • Documentation or repo-local agent guidance was added/updated where appropriate.
  • Any risk, limitation, or follow-up work is documented.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 8a236f76-b0c7-4c4e-9548-ce90e5f82e31

📥 Commits

Reviewing files that changed from the base of the PR and between ab7f08f and 68ad034.

📒 Files selected for processing (24)
  • cmd/create/accountroles/cmd.go
  • cmd/create/dnsdomains/cmd.go
  • cmd/create/externalauthprovider/cmd.go
  • cmd/create/idp/cmd.go
  • cmd/create/ocmrole/cmd.go
  • cmd/create/oidcconfig/cmd.go
  • cmd/create/oidcprovider/cmd.go
  • cmd/create/operatorroles/cmd.go
  • cmd/create/userrole/cmd.go
  • cmd/dlt/accountroles/cmd.go
  • cmd/dlt/idp/cmd.go
  • cmd/dlt/ocmrole/cmd.go
  • cmd/dlt/oidcconfig/cmd.go
  • cmd/dlt/oidcprovider/cmd.go
  • cmd/dlt/operatorrole/cmd.go
  • cmd/link/userrole/cmd.go
  • cmd/list/idp/cmd.go
  • cmd/list/ingress/cmd.go
  • cmd/list/ocmroles/cmd.go
  • cmd/list/oidcprovider/cmd.go
  • cmd/unlink/ocmrole/cmd.go
  • cmd/unlink/userrole/cmd.go
  • cmd/verify/network/cmd.go
  • cmd/verify/permissions/cmd.go
✅ Files skipped from review due to trivial changes (24)
  • cmd/list/ocmroles/cmd.go
  • cmd/dlt/idp/cmd.go
  • cmd/verify/network/cmd.go
  • cmd/dlt/operatorrole/cmd.go
  • cmd/unlink/userrole/cmd.go
  • cmd/unlink/ocmrole/cmd.go
  • cmd/dlt/oidcconfig/cmd.go
  • cmd/create/userrole/cmd.go
  • cmd/link/userrole/cmd.go
  • cmd/create/oidcconfig/cmd.go
  • cmd/list/idp/cmd.go
  • cmd/create/externalauthprovider/cmd.go
  • cmd/dlt/accountroles/cmd.go
  • cmd/create/oidcprovider/cmd.go
  • cmd/verify/permissions/cmd.go
  • cmd/create/operatorroles/cmd.go
  • cmd/list/oidcprovider/cmd.go
  • cmd/dlt/oidcprovider/cmd.go
  • cmd/create/dnsdomains/cmd.go
  • cmd/create/ocmrole/cmd.go
  • cmd/dlt/ocmrole/cmd.go
  • cmd/list/ingress/cmd.go
  • cmd/create/accountroles/cmd.go
  • cmd/create/idp/cmd.go

📝 Walkthrough

Walkthrough

This pull request updates Cobra command help text across create, delete, unlink, list, link, and verify commands. Several create commands now spell out DNS, OIDC, IAM, and identity provider terms, and ocm-role now refers to Red Hat Hybrid Cloud Console and adds a permissions boundary example. Delete, unlink, and list commands adjust wording and capitalization, and verify commands expand VPC and STS phrasing. No command flags or runtime behavior changed.

🚥 Pre-merge checks | ✅ 14 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description covers the issue, purpose, and type, but omits several required template sections like summary, testing, and behavior details. Add the missing template sections: PR Summary, Previous/After Behavior, Related Issues and PRs, How to Test, Proof of Fix, Breaking Changes, and any verification details.
✅ Passed checks (14 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the documentation-only CLI wording updates and matches the change set.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Stable And Deterministic Test Names ✅ Passed The PR only updates Cobra help text in CLI command files; no test files or Ginkgo titles were added or changed.
Test Structure And Quality ✅ Passed This PR only changes Cobra help text in cmd/*; no *_test.go or Ginkgo test files were modified, so the test-quality check is not applicable.
Microshift Test Compatibility ✅ Passed No new Ginkgo/e2e tests were added; the PR only changes Cobra help strings in command files.
Single Node Openshift (Sno) Test Compatibility ✅ Passed PR only changes cobra command help strings in cmd/*/cmd.go; no Ginkgo e2e tests or SNO-sensitive assumptions were added.
Topology-Aware Scheduling Compatibility ✅ Passed Only Cobra CLI help strings changed in cmd/*/cmd.go; no manifests, controllers, replicas, affinities, or node selectors were modified.
Ote Binary Stdout Contract ✅ Passed PR only updates Cobra help strings in command files; no new main/init/TestMain/BeforeSuite stdout writes were added.
Ipv6 And Disconnected Network Test Compatibility ✅ Passed The commit only updates cobra help text in cmd files; no Ginkgo/e2e tests, IPv4 literals, or external connectivity code were added.
No-Weak-Crypto ✅ Passed All touched hunks are CLI help-text edits; no crypto code, weak algorithms, or secret/token comparisons were added.
Container-Privileges ✅ Passed PASS: The PR only edits Cobra help strings in cmd/*.go; no container/K8s manifests or privilege-related fields (privileged, hostPID, allowPrivilegeEscalation, root, SYS_ADMIN) were changed.
No-Sensitive-Data-In-Logs ✅ Passed Commit 68ad034 only changes CLI help strings/examples across 24 files; diff scan found no new logging or sensitive-data-bearing log statements.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@openshift-ci

openshift-ci Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: EricPonvelle
Once this PR has been reviewed and has the lgtm label, please assign robpblake for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@cmd/create/idp/cmd.go`:
- Around line 92-93: Tighten the help text in the command definition by updating
the `Short` and `Long` descriptions to use clearer wording: change the phrase in
the `cmd/create/idp/cmd.go` command metadata so it reads naturally as “Add
identity provider (IDP) for a cluster” and rephrase the longer description to
avoid “identity providers” in the awkward plural form. Keep the fix confined to
the `Short` and `Long` fields in the `createIDPCmd` command setup.

In `@cmd/create/oidcconfig/cmd.go`:
- Around line 57-58: Update the user-facing long description in the OIDC config
command metadata so the help text uses “an S3 bucket” instead of “a S3 bucket.”
Make this change in the command definition where the OpenID Connect config
description is built, keeping the rest of the wording unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository YAML (base), Central YAML (inherited)

Review profile: CHILL

Plan: Enterprise

Run ID: 92ddc5da-4fd9-4965-a78c-1522ad0a5e4d

📥 Commits

Reviewing files that changed from the base of the PR and between f9db553 and db3f59a.

📒 Files selected for processing (5)
  • cmd/create/dnsdomains/cmd.go
  • cmd/create/idp/cmd.go
  • cmd/create/ocmrole/cmd.go
  • cmd/create/oidcconfig/cmd.go
  • cmd/create/oidcprovider/cmd.go

Comment thread cmd/create/idp/cmd.go Outdated
Comment thread cmd/create/oidcconfig/cmd.go Outdated
@EricPonvelle EricPonvelle force-pushed the OSDOCS-16406_rosa-updates branch from db3f59a to 0efd712 Compare July 8, 2026 14:09

@bhardesty bhardesty left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just noticed one small spacing issue.

Comment thread cmd/create/operatorroles/cmd.go Outdated
@EricPonvelle EricPonvelle force-pushed the OSDOCS-16406_rosa-updates branch from 0efd712 to ab7f08f Compare July 8, 2026 20:11
@EricPonvelle EricPonvelle force-pushed the OSDOCS-16406_rosa-updates branch from ab7f08f to 68ad034 Compare July 8, 2026 22:34
@openshift-ci

openshift-ci Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

@EricPonvelle: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/lint 68ad034 link true /test lint
ci/prow/govulncheck 68ad034 link false /test govulncheck
ci/prow/commits 68ad034 link true /test commits

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

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

Labels

dco-signoff: yes jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants