[hotfix] docs(lerian-notification): add v1.0 upgrade guide#1382
[hotfix] docs(lerian-notification): add v1.0 upgrade guide#1382gandalf-at-lerian wants to merge 1 commit into
Conversation
WalkthroughThis PR adds upgrade documentation for the lerian-notification Helm chart, guiding users from version 0.1.0 to 1.0.0-beta.3. The guide includes configuration changes, affected templates, breaking changes, and step-by-step migration instructions with example Helm commands. ChangesHelm Chart Upgrade Documentation
Comment |
There was a problem hiding this comment.
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 `@charts/lerian-notification/docs/UPGRADE-1.0.md`:
- Around line 39-41: The "Changed operational values" section contradicts the
values list because secrets.DATABASE_URL is newly added; update the upgrade
notes so they are consistent by either removing secrets.DATABASE_URL from the
earlier "new values" list or by updating the "Changed operational values"
paragraph to mention that secrets.DATABASE_URL was added and requires operator
attention (e.g., provide guidance to set the new secret); locate references to
"secrets.DATABASE_URL" and the "Changed operational values" heading and make the
text consistent.
- Line 3: The single-line Topics list in UPGRADE-1.0.md is concatenating
multiple links into one bullet; split that long line into separate list items so
each link gets its own bullet (e.g., replace the combined string
"**[Overview](`#overview`)**- **[Version changes](`#version-changes`)**..." with
separate lines like "- **[Overview](`#overview`)**", "- **[Version
changes](`#version-changes`)**", etc.) to restore proper markdown list formatting
and readability.
🪄 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: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 9982c7b7-f5d8-447c-84e1-6e63b21ed294
📒 Files selected for processing (1)
charts/lerian-notification/docs/UPGRADE-1.0.md
| @@ -0,0 +1,88 @@ | |||
| # Helm Upgrade from v0.x to v1.x | |||
| ## Topics | |||
| - **[Overview](#overview)**- **[Version changes](#version-changes)**- **[Configuration changes](#configuration-changes)**- **[Breaking changes to review](#breaking-changes-to-review)**- **[Template changes](#template-changes)**- **[Migration steps](#migration-steps)**- **[Preview changes before upgrading](#preview-changes-before-upgrading)**- **[Command to upgrade](#command-to-upgrade)** | |||
There was a problem hiding this comment.
Fix the Topics list markdown formatting.
The links are concatenated into a single bullet, which breaks readability and navigation.
Proposed fix
- - **[Overview](`#overview`)**- **[Version changes](`#version-changes`)**- **[Configuration changes](`#configuration-changes`)**- **[Breaking changes to review](`#breaking-changes-to-review`)**- **[Template changes](`#template-changes`)**- **[Migration steps](`#migration-steps`)**- **[Preview changes before upgrading](`#preview-changes-before-upgrading`)**- **[Command to upgrade](`#command-to-upgrade`)**
+ - **[Overview](`#overview`)**
+ - **[Version changes](`#version-changes`)**
+ - **[Configuration changes](`#configuration-changes`)**
+ - **[Breaking changes to review](`#breaking-changes-to-review`)**
+ - **[Template changes](`#template-changes`)**
+ - **[Migration steps](`#migration-steps`)**
+ - **[Preview changes before upgrading](`#preview-changes-before-upgrading`)**
+ - **[Command to upgrade](`#command-to-upgrade`)**📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| - **[Overview](#overview)**- **[Version changes](#version-changes)**- **[Configuration changes](#configuration-changes)**- **[Breaking changes to review](#breaking-changes-to-review)**- **[Template changes](#template-changes)**- **[Migration steps](#migration-steps)**- **[Preview changes before upgrading](#preview-changes-before-upgrading)**- **[Command to upgrade](#command-to-upgrade)** | |
| - **[Overview](`#overview`)** | |
| - **[Version changes](`#version-changes`)** | |
| - **[Configuration changes](`#configuration-changes`)** | |
| - **[Breaking changes to review](`#breaking-changes-to-review`)** | |
| - **[Template changes](`#template-changes`)** | |
| - **[Migration steps](`#migration-steps`)** | |
| - **[Preview changes before upgrading](`#preview-changes-before-upgrading`)** | |
| - **[Command to upgrade](`#command-to-upgrade`)** |
🤖 Prompt for 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.
In `@charts/lerian-notification/docs/UPGRADE-1.0.md` at line 3, The single-line
Topics list in UPGRADE-1.0.md is concatenating multiple links into one bullet;
split that long line into separate list items so each link gets its own bullet
(e.g., replace the combined string "**[Overview](`#overview`)**- **[Version
changes](`#version-changes`)**..." with separate lines like "-
**[Overview](`#overview`)**", "- **[Version changes](`#version-changes`)**", etc.)
to restore proper markdown list formatting and readability.
| ### Changed operational values | ||
|
|
||
| _No image, env, secret, probe, ingress, service, port, or enablement changes detected in values.yaml._ |
There was a problem hiding this comment.
Resolve contradiction in secret-change guidance.
This section says no secret changes were detected, but secrets.DATABASE_URL is explicitly listed as a new value above. That inconsistency can confuse upgrade execution.
Proposed fix
- _No image, env, secret, probe, ingress, service, port, or enablement changes detected in values.yaml._
+ _No image, env, probe, ingress, service, port, or enablement changes detected in values.yaml beyond the added keys listed above (including `secrets.DATABASE_URL`)._🤖 Prompt for 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.
In `@charts/lerian-notification/docs/UPGRADE-1.0.md` around lines 39 - 41, The
"Changed operational values" section contradicts the values list because
secrets.DATABASE_URL is newly added; update the upgrade notes so they are
consistent by either removing secrets.DATABASE_URL from the earlier "new values"
list or by updating the "Changed operational values" paragraph to mention that
secrets.DATABASE_URL was added and requires operator attention (e.g., provide
guidance to set the new secret); locate references to "secrets.DATABASE_URL" and
the "Changed operational values" heading and make the text consistent.
Summary
Requested by: @guimoreirar