Upgrade DevGuard
Upgrade DevGuard to the latest version to receive security patches, new features, and vulnerability database improvements.
Releases
Check the GitHub releases for available versions.
The DevGuard API and Web images share the same version tags. The Helm chart version and CI components/actions may have different version numbers.
Before Upgrading
- Check the changelog for breaking changes
- Create a backup — see Backup & Restore
- Test in staging if possible
Upgrade
helm upgrade devguard oci://ghcr.io/l3montree-dev/devguard-helm-chart/devguard \
--version <version> \
--namespace devguard \
-f values.yamlVerify deployment
kubectl rollout status deployment/devguard-api-deployment -n devguard
kubectl rollout status deployment/devguard-web-deployment -n devguardRollback
If issues occur:
helm rollback devguard -n devguardOverride image versions
If the Helm chart version differs from the application version, override the image tags in your values.yaml:
api:
image:
tag: "<version-tag>"
web:
image:
tag: "<version-tag>"Database Migrations
DevGuard runs database migrations automatically on startup. No manual intervention required.
If a migration fails:
- Check the API logs for error details
- Restore from backup
- Report the issue on GitHub