Skip to content

Commit ee5965a

Browse files
committed
docs: 2.53 upgrade instructions
1 parent f36b9c8 commit ee5965a

1 file changed

Lines changed: 43 additions & 2 deletions

File tree

  • docs/content/en/open_source/upgrading

docs/content/en/open_source/upgrading/2.53.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,50 @@
22
title: 'Upgrading to DefectDojo Version 2.53.x'
33
toc_hide: true
44
weight: -20251103
5-
description: No special instructions.
5+
description: Helm chart changes for initializer annotations.
66
---
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.
848

949
## Reimport updates fields fix_available and fix_version
50+
1051
Reimport will update existing findings `fix_available` and `fix_version` fields based on the incoming scan report.

0 commit comments

Comments
 (0)