You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/en/open_source/upgrading/2.53.md
+43-2Lines changed: 43 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,50 @@
2
2
title: 'Upgrading to DefectDojo Version 2.53.x'
3
3
toc_hide: true
4
4
weight: -20251103
5
-
description: No special instructions.
5
+
description: Helm chart changes for initializer annotations.
6
6
---
7
-
There are no special instructions for upgrading to 2.53.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.53.0) for the contents of the release.
7
+
8
+
## Helm Chart Changes
9
+
10
+
This release introduces an important change to the Helm chart configuration for the initializer job.
11
+
12
+
### Breaking changes
13
+
14
+
#### Initializer Annotation Handling
15
+
16
+
-**Renamed initializer annotations**: The `initializer.annotations` field has been renamed to `initializer.podAnnotations` for clarity and consistency with other DefectDojo resources.
17
+
-**Merged annotation support**: Global `extraAnnotations` are now automatically merged with the initializer's `podAnnotations` to ensure consistent annotation handling across all resources.
18
+
19
+
> The previous implementation did not merge global `extraAnnotations` with the initializer job's pod annotations, causing inconsistencies in annotation management.
20
+
21
+
#### Moved values
22
+
23
+
The following Helm chart values have been modified in this release:
24
+
25
+
-`initializer.annotations` → `initializer.podAnnotations` (applies to Pod template metadata within the Job)
26
+
27
+
Note: `initializer.jobAnnotations` affects the Job spec metadata, while `initializer.podAnnotations` affects the Pod template metadata within the Job.
28
+
29
+
#### Migration
30
+
31
+
If you were using:
32
+
33
+
```yaml
34
+
initializer:
35
+
annotations:
36
+
foo: bar
37
+
```
38
+
39
+
Update to:
40
+
41
+
```yaml
42
+
initializer:
43
+
podAnnotations:
44
+
foo: bar
45
+
```
46
+
47
+
Both `extraAnnotations` and `initializer.podAnnotations` will now be properly applied to the initializer pod.
8
48
9
49
## Reimport updates fields fix_available and fix_version
50
+
10
51
Reimport will update existing findings `fix_available` and `fix_version` fields based on the incoming scan report.
| images.nginx.image.tag | string | `""` | If empty, use appVersion. Another possible values are: latest, X.X.X, X.X.X-alpine (where X.X.X is version of DD). For dev builds (only for testing purposes): nightly-dev, nightly-dev-alpine. To see all, check https://hub.docker.com/r/defectdojo/defectdojo-nginx/tags. |
| initializer.containerSecurityContext | object | `{}` | Container security context for the initializer Job container |
689
688
| initializer.extraEnv | list | `[]` | Additional environment variables injected to the initializer job pods. |
@@ -694,6 +693,7 @@ A Helm chart for Kubernetes to install DefectDojo
694
693
| initializer.keepSeconds | int | `60` | A positive integer will keep this Job and Pod deployed for the specified number of seconds, after which they will be removed. For all other values, the Job and Pod will remain deployed. |
695
694
| initializer.labels | object | `{}` | |
696
695
| initializer.nodeSelector | object | `{}` | |
696
+
| initializer.podAnnotations | object | `{}` | |
697
697
| initializer.podSecurityContext | object | `{}` | Pod security context for the initializer Job |
Copy file name to clipboardExpand all lines: helm/defectdojo/values.yaml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -486,7 +486,7 @@ initializer:
486
486
run: true
487
487
automountServiceAccountToken: false
488
488
jobAnnotations: {}
489
-
annotations: {}
489
+
podAnnotations: {}
490
490
labels: {}
491
491
# -- A positive integer will keep this Job and Pod deployed for the specified number of seconds, after which they will be removed. For all other values, the Job and Pod will remain deployed.
0 commit comments