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.
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.yaml
Verify deployment
kubectl rollout status deployment/devguard-api-deployment -n devguard
kubectl rollout status deployment/devguard-web-deployment -n devguard
Rollback
If issues occur:
helm rollback devguard -n devguard
Override 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