-
-
Notifications
You must be signed in to change notification settings - Fork 2
[hotfix] docs(matcher): add v2.3 upgrade guide #1383
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| # Helm Upgrade from v2.2.x to v2.3.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)** | ||
|
|
||
| ## Overview | ||
| This guide covers the `matcher` chart upgrade from `2.2.0` to `2.3.0-beta.2`. It was generated retroactively from the chart history and focuses on minor version changes; patch-only releases are intentionally ignored. | ||
|
|
||
| Because this is a minor upgrade, the expected path is an in-place Helm upgrade after reviewing new values and changed defaults. | ||
|
|
||
| ## Version changes | ||
|
|
||
| | Field | Previous | Current | | ||
| |-------|----------|---------| | ||
| | Chart version | `2.2.0` | `2.3.0-beta.2` | | ||
| | App version | `1.0.0` | `1.0.0` | | ||
|
|
||
| ## Configuration changes | ||
|
|
||
| ### Added values | ||
|
|
||
| _No direct values.yaml key changes detected._ | ||
|
|
||
| ### Removed values | ||
|
|
||
| _No direct values.yaml key changes detected._ | ||
|
|
||
| ### Changed operational values | ||
|
|
||
| _No image, env, secret, probe, ingress, service, port, or enablement changes detected in values.yaml._ | ||
|
|
||
| ## Template changes | ||
|
|
||
| ### Added files | ||
|
|
||
| - No chart files added. | ||
|
|
||
| ### Removed files | ||
|
|
||
| - No chart files removed. | ||
|
|
||
| ### Modified files | ||
|
|
||
| - `charts/matcher/Chart.yaml` | ||
| - `charts/matcher/templates/deployment.yaml` | ||
| - `charts/matcher/values.yaml` | ||
|
|
||
| ## Migration steps | ||
|
|
||
| 1. Read this guide and compare your custom values against `charts/matcher/values.yaml`. | ||
| 2. Add any required new values for your environment, especially secrets, configmaps, probes, ingress, and service settings. | ||
| 3. Render the chart locally with your production values and review the manifest diff. | ||
| 4. Apply the upgrade in a controlled environment before production. | ||
|
Comment on lines
+47
to
+52
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolve inconsistency between migration steps and stated changes. Step 2 instructs users to "Add any required new values for your environment, especially secrets, configmaps, probes, ingress, and service settings," but the Configuration changes section explicitly states "No direct values.yaml key changes detected" (lines 21, 25) and "No image, env, secret, probe, ingress, service, port, or enablement changes detected" (line 29). This contradictory guidance will confuse users about whether they need to add new values or not. 📋 Proposed fix to align migration steps with actual changes ## Migration steps
1. Read this guide and compare your custom values against `charts/matcher/values.yaml`.
-2. Add any required new values for your environment, especially secrets, configmaps, probes, ingress, and service settings.
-3. Render the chart locally with your production values and review the manifest diff.
+2. Render the chart locally with your production values and review the manifest diff.
+3. Verify that the template changes in `deployment.yaml` are compatible with your environment.
4. Apply the upgrade in a controlled environment before production.🤖 Prompt for AI Agents |
||
|
|
||
| ## Preview changes before upgrading | ||
|
|
||
| ```bash | ||
| helm diff upgrade matcher ./charts/matcher \ | ||
| --namespace <namespace> \ | ||
| --values <your-values.yaml> | ||
| ``` | ||
|
|
||
| ## Command to upgrade | ||
|
|
||
| ```bash | ||
| helm upgrade matcher ./charts/matcher \ | ||
| --namespace <namespace> \ | ||
| --values <your-values.yaml> | ||
| ``` | ||
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.
Fix markdown formatting for the table of contents.
The topics list is concatenated into a single line without proper line breaks, making it difficult to read. Each topic should be on a separate line.
📝 Proposed fix for proper markdown formatting
📝 Committable suggestion
🤖 Prompt for AI Agents