DefectDojo / django-DefectDojo

DevSecOps, ASPM, Vulnerability Management. All on one platform.
https://defectdojo.com
BSD 3-Clause "New" or "Revised" License
3.52k stars 1.48k forks source link

Postgresql old image is used with 15.2.0 version of postgresql helm chart #10279

Open iamrahul127 opened 1 month ago

iamrahul127 commented 1 month ago

Bug description Upgrading to helm chart version 1.6.130 which is using postgresql helm chart version 15.2.0 deploys postgresql image version 11.22.0-debian-11-r4 instead of 16.2.0-debian-12-r10.

Steps to reproduce Deploy defectdojo 1.6.130 on kubernetes.

Expected behavior Postgresql image version 16.2.0-debian-12-r10 should get deployed.

Deployment method (select with an X)

Environment information

Additional context (optional) We are referring to postgresql chart v.15.2.0 in DefectDojo chart yaml but values.yaml has hard coded value of image tag 11.22.0-debian-11-r4 which should be removed.

My understanding is that image tag should come from bitnani prostgresql helm chart unless it's hardcoded intentionally .

dsever commented 1 month ago

If you go to the values you will notice that it has been pinned to particular version, if I recall correctly problem was that bitnami decided to remove old versions of helm charts, so we needed to use new char with old version of DB, because at the time migration math from older version of pg was not clear. But we are working to fix it.