Skip to content

CLI guide asset generation: Removed fluff and anthropomorphism#355

Merged
Pkylas007 merged 2 commits intomainfrom
mta-cli-corrections
Apr 20, 2026
Merged

CLI guide asset generation: Removed fluff and anthropomorphism#355
Pkylas007 merged 2 commits intomainfrom
mta-cli-corrections

Conversation

@Pkylas007
Copy link
Copy Markdown
Collaborator

@Pkylas007 Pkylas007 commented Apr 16, 2026

Summary by CodeRabbit

  • Documentation
    • Updated documentation to clarify how generated deployment assets incorporate configuration keys from both discovery manifests and user-provided values
    • Improved documentation of variable priority, specifying that discovery manifest values take precedence over user inputs, with --set remaining highest priority

Signed-off-by: Prabha Kylasamiyer Sundara Rajan <pkylasam@pkylasam-thinkpadp16vgen1.bengluru.csb>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 16, 2026

Warning

Rate limit exceeded

@Pkylas007 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 56 minutes and 45 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 56 minutes and 45 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8f5fe73e-c1d9-472a-865a-8d388202adb5

📥 Commits

Reviewing files that changed from the base of the PR and between e8a27af and aafdfa2.

📒 Files selected for processing (1)
  • docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc
📝 Walkthrough

Walkthrough

Updated AsciiDoc documentation for the MTA CLI deployment assets generation procedure to clarify that generated manifests include configuration keys in addition to those from the discovery manifest, refined variable priority/precedence semantics, removed redundant parameter descriptions, and adjusted prerequisite and phrasing details.

Changes

Cohort / File(s) Summary
Documentation Updates
docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc
Clarified generated deployment assets now include configuration keys from discovery manifest (not just fill missing ones); refined variable priority section terminology from "hierarchy" to "priority"; removed redundant parameter descriptions from "where:" section; adjusted prerequisites and reworded asset generation phrasing.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related PRs

Suggested reviewers

  • mpershina
  • gciavarrini

Poem

🐰 Through AsciiDoc gardens, we hop with care,
Clarity blooms where confusion once was there,
Variables prioritized, paths made bright,
Documentation refined to set things right! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: removing unnecessary content (fluff) and imprecise language (anthropomorphism) from CLI documentation.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch mta-cli-corrections

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 and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc (1)

59-67: ⚠️ Potential issue | 🟡 Minor

Define all command placeholders in the where: section.

Line 59 and Line 60 introduce _<path_to_helm_chart>_ and _<path_to_discovery_manifest>_, but only _<location_of_deployment_manifests>_ is defined in Line 67. Please add definitions for the other two placeholders for completeness.

Suggested doc fix
 where:
 
+`_<path_to_helm_chart>_`:: Specifies the path to the Helm chart root directory.
+`_<path_to_discovery_manifest>_`:: Specifies the path to the discovery manifest file.
 `_<location_of_deployment_manifests>_`:: Specifies the output directory for the generated manifests. 

Based on learnings: placeholder tokens in command blocks should have corresponding placeholder definitions in where sections.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc` around
lines 59 - 67, Add missing definitions for the two placeholders used in the
command example: `_<path_to_helm_chart>_` (explain it specifies the path to the
Helm chart directory to package) and `_<path_to_discovery_manifest>_` (explain
it specifies the path to the discovery manifest input file); place these entries
in the same "where:" section and format them consistently with the existing
`_<location_of_deployment_manifests>_` definition so each placeholder in the
command block has a corresponding explanation.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc`:
- Line 73: Update the user-facing sentence that currently reads "the generated
assets includes the input values from this file" to correct subject-verb
agreement by changing "includes" to "include" in the docs text (the sentence
describing "Priority 3 - The `values.yaml` file" near the existing line
content). Ensure the rest of the sentence remains unchanged so it reads "...the
generated assets include the input values from this file."

---

Outside diff comments:
In `@docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc`:
- Around line 59-67: Add missing definitions for the two placeholders used in
the command example: `_<path_to_helm_chart>_` (explain it specifies the path to
the Helm chart directory to package) and `_<path_to_discovery_manifest>_`
(explain it specifies the path to the discovery manifest input file); place
these entries in the same "where:" section and format them consistently with the
existing `_<location_of_deployment_manifests>_` definition so each placeholder
in the command block has a corresponding explanation.
🪄 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: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9b247b57-3a18-4265-a62d-d4e61ee00abf

📥 Commits

Reviewing files that changed from the base of the PR and between 7e49437 and e8a27af.

📒 Files selected for processing (1)
  • docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc

Comment thread docs/topics/mta-cli/proc_generate_deployment_assets_values_file.adoc Outdated
Signed-off-by: Prabha Kylasamiyer Sundara Rajan <pkylasam@pkylasam-thinkpadp16vgen1.bengluru.csb>
= Generating deployment manifests from a discovery manifest and values.yaml

[role="_abstract"]
Use a Helm chart and a `values.yaml` file to generate deployment manifests that include configuration keys missing from a discovery manifest. This process allows you to capture additional metadata or use the `--set` flag to override values and customize your generated assets.
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Removed anthropomorphism that's not permitted by IBM style guide.

.Prerequisites

* You installed the `Helm` command-line interface (CLI).
* To use Helm templates to generate assets, you saved your files in the Helm chart root directory as follows:
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Reduced fluff here.

Comment on lines +71 to +73
* **Priority 1 - The `--set` command flag**: Any value specified with this flag has the highest priority and overrides variables defined in either the `values.yaml` file or the discovery manifest.
* **Priority 2 - The discovery manifest**: If you do not use the `--set` flag, the discovery manifest configuration is used as the primary input for asset generation.
* **Priority 3 - The `values.yaml` file**: If this file is not empty, the generated assets include the input values from this file. However, if a key exists in both the discovery manifest and the `values.yaml` file, the value from the discovery manifest takes precedence.
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

What about this? I think we can safely use period here instead of having more complicated structure.

Suggested change
* **Priority 1 - The `--set` command flag**: Any value specified with this flag has the highest priority and overrides variables defined in either the `values.yaml` file or the discovery manifest.
* **Priority 2 - The discovery manifest**: If you do not use the `--set` flag, the discovery manifest configuration is used as the primary input for asset generation.
* **Priority 3 - The `values.yaml` file**: If this file is not empty, the generated assets include the input values from this file. However, if a key exists in both the discovery manifest and the `values.yaml` file, the value from the discovery manifest takes precedence.
* **Priority 1: The `--set` command flag**. Any value specified with this flag has the highest priority and overrides variables defined in either the `values.yaml` file or the discovery manifest.
* **Priority 2: The discovery manifest**. If you do not use the `--set` flag, the discovery manifest configuration is used as the primary input for asset generation.
* **Priority 3: The `values.yaml` file**. If this file is not empty, the generated assets include the input values from this file. However, if a key exists in both the discovery manifest and the `values.yaml` file, the value from the discovery manifest takes precedence.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Thanks but I hope I have uncomplicated the punctuation here :)

Copy link
Copy Markdown
Collaborator

@mpershina mpershina left a comment

Choose a reason for hiding this comment

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

I suggested a minor change that should deal with complicated punctuation. Also, could you please generate some preview? Let's ensure everything renders correctly :-)

@Pkylas007 Pkylas007 merged commit c7fe7bf into main Apr 20, 2026
2 checks passed
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.

2 participants