|
2 | 2 | title: 'Upgrading to DefectDojo Version 2.50.x' |
3 | 3 | toc_hide: true |
4 | 4 | weight: -20250804 |
5 | | -description: Dropped support for time_zone in System settings and Helm chart changes. |
| 5 | +description: Dropped support for time_zone in System settings. |
6 | 6 | --- |
7 | 7 |
|
8 | | -## time_zone changes |
9 | | - |
10 | 8 | To simplify the management of the DefectDojo application, it is not necessary to set the time zone in two places (environmental variables and system settings). From now on, environmental variable is supported. |
11 | 9 | Please check that the environmental variable `DD_TIME_ZONE` is set based on your satisfaction. Any [TZ identifier](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is a valid value. Default value is `UTC`. |
12 | 10 |
|
13 | | -## Helm Chart Changes |
14 | | - |
15 | | -This release introduces several important changes to the Helm chart configuration: |
16 | | - |
17 | | -### Breaking changes |
18 | | - |
19 | | -#### Volume Management Improvements |
20 | | - |
21 | | -- **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. |
22 | | - |
23 | | -> 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). |
24 | | -> The new approach resolves these limitations. |
25 | | -
|
26 | | -#### Moved values |
27 | | - |
28 | | -The following Helm chart values have been modified in this release: |
29 | | - |
30 | | -- `redis.transportEncryption.enabled` → `redis.tls.enabled` (aligned with upstream Helm chart) |
31 | | -- `redis.scheme` → `redis.sentinel.enabled` (controls deployment mode and aligns with upstream chart) |
32 | | -- `redis.redisServer` → `redisServer` (prevents potential schema conflicts with upstream chart) |
33 | | -- `redis.transportEncryption.params` → `redisParams` (prevents potential schema conflicts with upstream chart) |
34 | | -- `postgresql.postgresServer` → `postgresServer` (prevents potential schema conflicts with upstream chart) |
35 | | - |
36 | | -### New features |
37 | | - |
38 | | -#### Container and Environment Enhancements |
39 | | - |
40 | | -- **Added extraInitContainers support**: Both Celery and Django deployments now support additional init containers through the `extraInitContainers` configuration option. |
41 | | -- **Enhanced probe configuration for Celery**: Added support for customizing liveness, readiness, and startup probes in both Celery beat and worker deployments. |
42 | | -- **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. |
43 | | - |
44 | | -### Other changes |
45 | | - |
46 | | -- **Celery pod annotations**: Now we can add annotations to Celery beat/worker pods separately. |
47 | | -- **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). |
48 | | -- **Optional secret references**: Some secret references are now optional, allowing the chart to function even when certain secrets are not created. |
49 | | -- **Fixed secret mounting**: Resolved issues with optional secret mounts and references. |
50 | | -- **Improved code organization**: Minor Helm chart refactoring to enhance readability and maintainability. |
51 | | - |
52 | | ---- |
53 | | - |
54 | | -There are other 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. |
| 11 | +There are other 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. |
0 commit comments