|
2 | 2 | title: 'Upgrading to DefectDojo Version 2.50.x' |
3 | 3 | toc_hide: true |
4 | 4 | weight: -20250804 |
5 | | -description: No special instructions. |
| 5 | +description: Helm chart changes. |
6 | 6 | --- |
7 | | -There are no special instructions for upgrading to 2.50.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.50.0) for the contents of the release. |
| 7 | + |
| 8 | +## Helm Chart Changes |
| 9 | + |
| 10 | +This release introduces several important changes to the Helm chart configuration: |
| 11 | + |
| 12 | +## Breaking changes |
| 13 | + |
| 14 | +### Volume Management Improvements |
| 15 | + |
| 16 | +- **Streamlined volume configuration**: The existing volume logic has been removed and replaced with more flexible `extraVolumes` and `extraVolumeMounts` options that provide deployment-agnostic volume management. |
| 17 | + |
| 18 | +> The previous volume implementation prevented mounting projected volumes (such as secret mounts with renamed key names) and per-container volume mounts (like nginx emptyDir when readOnlyRootFs is enforced). |
| 19 | +> The new approach resolves these limitations. |
| 20 | +
|
| 21 | +### Moved values |
| 22 | + |
| 23 | +The following Helm chart values have been modified in this release: |
| 24 | + |
| 25 | +- `redis.transportEncryption.enabled` → `redis.tls.enabled` (aligned with upstream Helm chart) |
| 26 | +- `redis.scheme` → `redis.sentinel.enabled` (controls deployment mode and aligns with upstream chart) |
| 27 | +- `redis.redisServer` → `redisServer` (prevents potential schema conflicts with upstream chart) |
| 28 | +- `redis.transportEncryption.params` → `redisParams` (prevents potential schema conflicts with upstream chart) |
| 29 | +- `postgresql.postgresServer` → `postgresServer` (prevents potential schema conflicts with upstream chart) |
| 30 | + |
| 31 | +## New features |
| 32 | + |
| 33 | +### Container and Environment Enhancements |
| 34 | + |
| 35 | +- **Added extraInitContainers support**: Both Celery and Django deployments now support additional init containers through the `extraInitContainers` configuration option. |
| 36 | +- **Enhanced probe configuration for Celery**: Added support for customizing liveness, readiness, and startup probes in both Celery beat and worker deployments. |
| 37 | +- **Enhanced environment variable management**: All deployments now include `extraEnv` support for adding custom environment variables. For backwards compatibility, `.Values.extraEnv` can be used to inject common environment variables to all workloads. |
| 38 | + |
| 39 | +## Other changes |
| 40 | + |
| 41 | +- **Celery pod annotations**: Now we can add annotations to Celery beat/worker pods separately. |
| 42 | +- **Flexible secret deployment**: Added the capability to deploy secrets as regular (non-hooked) resources to address compatibility issues encountered with CI/CD tools (such as ArgoCD). |
| 43 | +- **Optional secret references**: Some secret references are now optional, allowing the chart to function even when certain secrets are not created. |
| 44 | +- **Fixed secret mounting**: Resolved issues with optional secret mounts and references. |
| 45 | +- **Updated Bitnami chart reference**: Migrated to OCI (Open Container Initiative) format for the Bitnami chart dependency. |
| 46 | +- **Improved code organization**: Minor Helm chart refactoring to enhance readability and maintainability. |
| 47 | + |
| 48 | +--- |
| 49 | + |
| 50 | +Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.50.0) for the contents of the release. |
0 commit comments