DefectDojo / django-DefectDojo

DevSecOps, ASPM, Vulnerability Management. All on one platform.

Home Page:https://defectdojo.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

iamrahul127 opened this issue · comments

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)

  • Docker Compose
  • Kubernetes
  • GoDojo

Environment information

  • Operating System: Ubuntu 18.04.6 LTS
  • DefectDojo version: 2.34.4

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 .

commented

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.