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: .github/workflows/test-helm-chart.yml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,10 @@ jobs:
68
68
- name: Check update of "artifacthub.io/changes" HELM annotation
69
69
if: env.changed == 'true'
70
70
run: |
71
+
# fast fail if `git show` fails
72
+
set -e
73
+
set -o pipefail
74
+
71
75
target_branch=${{ env.ct-branch }}
72
76
73
77
echo "Checking Chart.yaml annotation changes"
@@ -76,10 +80,10 @@ jobs:
76
80
current_annotation=$(yq e '.annotations."artifacthub.io/changes"' "helm/defectdojo/Chart.yaml")
77
81
78
82
# Get target branch version of Chart.yaml annotation
79
-
target_annotation=$(git show "${{ env.ct-branch }}:helm/defectdojo/Chart.yaml" | yq e '.annotations."artifacthub.io/changes"' -)
83
+
target_annotation=$(git show "origin/${{ env.ct-branch }}:helm/defectdojo/Chart.yaml" | yq e '.annotations."artifacthub.io/changes"' -)
80
84
81
85
if [[ "$current_annotation" == "$target_annotation" ]]; then
82
-
echo "::error file=helm/defectdojo/Chart.yaml::The 'artifacthub.io/changes' annotation has not been updated compared to ${{ env.ct-branch }}"
86
+
echo "::error::The HELM chart has been updated but the 'artifacthub.io/changes' annotation in 'Chart.yaml' has not been changed (compared to '${{ env.ct-branch }}' branch)"
Copy file name to clipboardExpand all lines: docs/content/en/open_source/upgrading/2.52.md
+34-2Lines changed: 34 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,9 +2,11 @@
2
2
title: 'Upgrading to DefectDojo Version 2.52.x'
3
3
toc_hide: true
4
4
weight: -20250804
5
-
description: Replaced Redis with Valkey
5
+
description: Replaced Redis with Valkey & Helm chart changes.
6
6
---
7
7
8
+
## Valkey
9
+
8
10
Since the license change at Redis the fork ValKey has become widely popular and is backed by industry giants such as AWS. AWS is advising to use ValKey over Redis and is using lower prices for ValKey compared to Redis.
9
11
10
12
Defect Dojo 2.52 now uses ValKey as a message broker. Teh existing redit volume can be used by Valkey, so this is just a drop in replacement.
@@ -31,4 +33,34 @@ If you want to be 110% sure no tasks will be lost you could perform the upgrade
31
33
`docker compose pull`
32
34
`docker compose up -d`
33
35
34
-
There are no special instructions for upgrading to 2.52.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.52.0) for the contents of the release.
36
+
## Helm Chart Changes
37
+
38
+
This release introduces more important changes to the Helm chart configuration:
39
+
40
+
### Breaking changes
41
+
42
+
#### Security context
43
+
44
+
This Helm chart extends security context capabilities to all deployed pods and containers.
45
+
You can define a default pod and container security context globally using `securityContext.podSecurityContext` and `securityContext.containerSecurityContext` keys.
46
+
Additionally, each deployment can specify its own pod and container security contexts, which will override or merge with the global ones.
47
+
48
+
#### Fine-grained resources
49
+
50
+
Now each container can specify the resource requests and limits.
51
+
52
+
#### Moved values
53
+
54
+
The following Helm chart values have been modified in this release:
55
+
56
+
-`securityContext.djangoSecurityContext` → deprecated in favor of container-specific security contexts (`celery.beat.containerSecurityContext`, `celery.worker.containerSecurityContext`, `django.uwsgi.containerSecurityContext` and `dbMigrationChecker.containerSecurityContext`)
57
+
-`securityContext.nginxSecurityContext` → deprecated in favor of container-specific security contexts (`django.nginx.containerSecurityContext`)
58
+
59
+
### Other changes
60
+
61
+
-**Extra annotations**: Now we can add common annotations to all resources.
62
+
63
+
There are other instructions for upgrading to 2.52.x. Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.52.0) for the contents of the release.
64
+
65
+
## Releas notes
66
+
Check the [Release Notes](https://github.com/DefectDojo/django-DefectDojo/releases/tag/2.52.0) for the contents of the release.
0 commit comments