Perses Helm Chart Upgrade Guide#
Overview#
This guide provides instructions for upgrading Perses Helm chart releases, particularly when dealing with breaking changes between versions.
We try as much as possible to avoid breaking changes, but sometimes it's necessary to introduce them. If you are upgrading from a version to another that contains breaking changes, you will need to follow the version-specific steps outlined below.
Upgrade Types#
Patch Upgrades#
For patch version upgrades (e.g., 0.8.0 → 0.8.1), you can typically perform a standard Helm upgrade without special considerations:
Major/Minor Upgrades with Breaking Changes#
For upgrades that introduce breaking changes, follow the version-specific migration guides below.
Breaking Changes by Version#
Upgrading to 0.18.0#
This version introduces breaking changes to the image section. A field has been added.
Configuration Field Changes#
- Added
image.registryto support CRI-O 1.34
Before:
After:
Upgrading to 0.8.0#
This version introduces breaking changes to the config section. Some fields have been renamed and reorganized.
Configuration Field Changes#
Update security Fields:
- Change
readOnlytoreadonly - Change
enableAuthtoenable_auth
Before:
After:
Move important_dashboards to frontend section:
Before:
After:
Additional Changes#
- SQL field is not defined by default anymore
- File system storage is now the default storage mode
Migration Steps#
- Backup your current values:
-
Update your values file according to the field changes above
-
Test the upgrade in a non-production environment first
-
Perform the upgrade:
- Verify the deployment is working correctly after upgrade
General Upgrade Best Practices#
- Always backup your current Helm values and any persistent data before upgrading
- Review the changelog for the target version to understand all changes
- Test upgrades in a development or staging environment first
- Monitor the application after upgrade to ensure everything is functioning correctly
- Have a rollback plan ready in case issues arise
Rollback Procedure#
If you encounter issues after upgrading, you can rollback to the previous version: