Skip to content

[hotfix] docs(otel-collector-lerian): add v3.1 upgrade guide#1384

Open
gandalf-at-lerian wants to merge 1 commit into
mainfrom
hotfix/otel-collector-lerian-upgrade-doc-3-1
Open

[hotfix] docs(otel-collector-lerian): add v3.1 upgrade guide#1384
gandalf-at-lerian wants to merge 1 commit into
mainfrom
hotfix/otel-collector-lerian-upgrade-doc-3-1

Conversation

@gandalf-at-lerian
Copy link
Copy Markdown
Contributor

Summary

  • Adds the retroactive minor upgrade guide for from to .
  • Patch-only upgrade docs remain ignored, per task scope.

Requested by: @guimoreirar

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 16, 2026

Review Change Stack

Walkthrough

This PR adds a new upgrade guide (UPGRADE-3.1.md) for the otel-collector-lerian Helm chart, documenting the upgrade path from version 3.0.0 to 3.1.0-beta.2 with configuration, template changes, and example helm commands.

Changes

Upgrade Documentation

Layer / File(s) Summary
Upgrade guide documentation
charts/otel-collector-lerian/docs/UPGRADE-3.1.md
Comprehensive upgrade guide for chart version 3.1.0-beta.2 detailing changes from 3.0.0, including version information, configuration and template impact assessment, and step-by-step migration instructions with example helm commands.

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

@gandalf-at-lerian gandalf-at-lerian marked this pull request as ready for review May 16, 2026 15:30
@gandalf-at-lerian gandalf-at-lerian requested a review from a team as a code owner May 16, 2026 15:30
Copy link
Copy Markdown

@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: 3

🤖 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/otel-collector-lerian/docs/UPGRADE-3.1.md`:
- Line 14: Update the upgrade notes to warn users that `3.1.0-beta.2` is a
pre-release: add a clear one-sentence warning in the Overview and/or Version
changes section stating that `3.1.0-beta.2` is a beta release with potentially
reduced stability and recommend testing before production; specifically flag the
table entry `3.1.0-beta.2` with this note so readers upgrading from `3.0.0` see
the beta disclaimer.
- Line 3: The table of contents string currently concatenates all items on one
line; split that single line into separate markdown list items so each topic
appears on its own line (e.g., replace the combined line "-
**[Overview](`#overview`)**- **[Version changes](`#version-changes`)**..." with a
newline-separated bullet list), ensuring each entry uses a leading "- " (or "*"
) and has proper spacing and line breaks so links like
"**[Overview](`#overview`)**", "**[Version changes](`#version-changes`)**",
"**[Configuration changes](`#configuration-changes`)**", "**[Template
changes](`#template-changes`)**", "**[Migration steps](`#migration-steps`)**",
"**[Preview changes before upgrading](`#preview-changes-before-upgrading`)**", and
"**[Command to upgrade](`#command-to-upgrade`)**" are each on their own line.
- Around line 48-49: The instructions currently emphasize "secrets, configmaps,
probes, ingress, and service settings" while an earlier sentence states "No
image, env, secret, probe, ingress, service, port, or enablement changes
detected in values.yaml", creating a contradiction; edit the sentence containing
the phrase "especially secrets, configmaps, probes, ingress, and service
settings" to either remove the "especially ..." clause or replace it with a
generic prompt such as "add any required new values for your environment" so the
guidance in the paragraph consistently reflects that no changes were detected in
values.yaml.
🪄 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: 22cbca95-202e-42ae-b433-3353b60e3dff

📥 Commits

Reviewing files that changed from the base of the PR and between 3766751 and 07b8022.

📒 Files selected for processing (1)
  • charts/otel-collector-lerian/docs/UPGRADE-3.1.md

@@ -0,0 +1,67 @@
# Helm Upgrade from v3.0.x to v3.1.x
## Topics
- **[Overview](#overview)**- **[Version changes](#version-changes)**- **[Configuration changes](#configuration-changes)**- **[Template changes](#template-changes)**- **[Migration steps](#migration-steps)**- **[Preview changes before upgrading](#preview-changes-before-upgrading)**- **[Command to upgrade](#command-to-upgrade)**
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Fix the table of contents formatting.

All TOC items are concatenated on a single line without proper spacing or line breaks, making it hard to read. Each topic should be on its own line as a separate bullet point.

📝 Proposed fix for TOC formatting
-- **[Overview](`#overview`)**- **[Version changes](`#version-changes`)**- **[Configuration changes](`#configuration-changes`)**- **[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`)**
+- **[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.

Suggested change
- **[Overview](#overview)**- **[Version changes](#version-changes)**- **[Configuration changes](#configuration-changes)**- **[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`)**
- **[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/otel-collector-lerian/docs/UPGRADE-3.1.md` at line 3, The table of
contents string currently concatenates all items on one line; split that single
line into separate markdown list items so each topic appears on its own line
(e.g., replace the combined line "- **[Overview](`#overview`)**- **[Version
changes](`#version-changes`)**..." with a newline-separated bullet list), ensuring
each entry uses a leading "- " (or "*" ) and has proper spacing and line breaks
so links like "**[Overview](`#overview`)**", "**[Version
changes](`#version-changes`)**", "**[Configuration
changes](`#configuration-changes`)**", "**[Template
changes](`#template-changes`)**", "**[Migration steps](`#migration-steps`)**",
"**[Preview changes before upgrading](`#preview-changes-before-upgrading`)**", and
"**[Command to upgrade](`#command-to-upgrade`)**" are each on their own line.


| Field | Previous | Current |
|-------|----------|---------|
| Chart version | `3.0.0` | `3.1.0-beta.2` |
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Add a note about upgrading to a beta version.

The guide directs users to upgrade to 3.1.0-beta.2, which is a pre-release version. Consider adding a note or warning in the Overview or Version changes section to make users aware they are upgrading to a beta release, which may not have the same stability guarantees as a stable release.

🤖 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/otel-collector-lerian/docs/UPGRADE-3.1.md` at line 14, Update the
upgrade notes to warn users that `3.1.0-beta.2` is a pre-release: add a clear
one-sentence warning in the Overview and/or Version changes section stating that
`3.1.0-beta.2` is a beta release with potentially reduced stability and
recommend testing before production; specifically flag the table entry
`3.1.0-beta.2` with this note so readers upgrading from `3.0.0` see the beta
disclaimer.

Comment on lines +48 to +49
1. Read this guide and compare your custom values against `charts/otel-collector-lerian/values.yaml`.
2. Add any required new values for your environment, especially secrets, configmaps, probes, ingress, and service settings.
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Remove inconsistent emphasis on unchanged settings.

Line 49 instructs users to pay special attention to "secrets, configmaps, probes, ingress, and service settings," but line 29 explicitly states "No image, env, secret, probe, ingress, service, port, or enablement changes detected in values.yaml." This creates confusion about whether these settings actually changed. Since no changes were detected, either remove the "especially" clause or make it generic.

📝 Proposed fix to remove inconsistent emphasis
 1. Read this guide and compare your custom values against `charts/otel-collector-lerian/values.yaml`.
-2. Add any required new values for your environment, especially secrets, configmaps, probes, ingress, and service settings.
+2. Review your custom values to ensure compatibility with the new chart version.
 3. Render the chart locally with your production values and review the manifest diff.
 4. Apply the upgrade in a controlled environment before production.
🤖 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/otel-collector-lerian/docs/UPGRADE-3.1.md` around lines 48 - 49, The
instructions currently emphasize "secrets, configmaps, probes, ingress, and
service settings" while an earlier sentence states "No image, env, secret,
probe, ingress, service, port, or enablement changes detected in values.yaml",
creating a contradiction; edit the sentence containing the phrase "especially
secrets, configmaps, probes, ingress, and service settings" to either remove the
"especially ..." clause or replace it with a generic prompt such as "add any
required new values for your environment" so the guidance in the paragraph
consistently reflects that no changes were detected in values.yaml.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant