diff --git a/charts/plugin-br-payments/docs/UPGRADE-1.0.md b/charts/plugin-br-payments/docs/UPGRADE-1.0.md new file mode 100644 index 00000000..9c796009 --- /dev/null +++ b/charts/plugin-br-payments/docs/UPGRADE-1.0.md @@ -0,0 +1,70 @@ +# 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)** + +## Overview +This guide covers the `plugin-br-payments` chart upgrade from `0.1.0` to `1.0.0-beta.1`. It was generated retroactively from the chart history and focuses on major version changes; patch-only releases are intentionally ignored. + +Because this is a major upgrade, review all removed values, renamed templates, and changed defaults before applying it to production. + +## Version changes + +| Field | Previous | Current | +|-------|----------|---------| +| Chart version | `0.1.0` | `1.0.0-beta.1` | +| App version | `1.0.0-beta.9` | `1.0.0-beta.9` | + +## 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._ + +## Breaking changes to review + +No removed values were detected in `values.yaml`, but this is still a major chart version. Review the template changes below before rollout. + +## Template changes + +### Added files + +- No chart files added. + +### Removed files + +- No chart files removed. + +### Modified files + +- `charts/plugin-br-payments/Chart.yaml` + +## Migration steps + +1. Read this guide and compare your custom values against `charts/plugin-br-payments/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. + +## Preview changes before upgrading + +```bash +helm diff upgrade plugin-br-payments ./charts/plugin-br-payments \ + --namespace \ + --values +``` + +## Command to upgrade + +```bash +helm upgrade plugin-br-payments ./charts/plugin-br-payments \ + --namespace \ + --values +```