Bug description
Hello,
After updating defectdojo to the latest version (2.52.0), i get this error while applying the helm chart:
Error: UPGRADE FAILED: template: defectdojo/templates/media-pvc.yaml:7:18: executing "defectdojo/templates/media-pvc.yaml" at <.Values.extraAnnotations>: nil pointer evaluating interface {}.extraAnnotations
I think it's the references in media-pvc.yaml that are incorrect, i fixed it locally by editing the file media-pvc.yaml and adding dollars to source from root at the 3 following place:
- On line 7:
{{- with $.Values.extraAnnotations }}
- On line 19:
{{- range $key, $value := $.Values.extraLabels }}
- On line 23:
namespace: {{ $.Release.Namespace }}
If someone can have a look and confirm i'd be thankful.
Steps to reproduce
Steps to reproduce the behavior:
- Deploy Defectdojo in version 2.52.0 using the helm chart
- enable mediaPersistentVolume in the values.yaml
- set type to pvc and create a persistentVolumeClaim
Deployment method (select with an X)
Environment information
- DefectDojo version 2.52.0
Bug description
Hello,
After updating defectdojo to the latest version (2.52.0), i get this error while applying the helm chart:
Error: UPGRADE FAILED: template: defectdojo/templates/media-pvc.yaml:7:18: executing "defectdojo/templates/media-pvc.yaml" at <.Values.extraAnnotations>: nil pointer evaluating interface {}.extraAnnotationsI think it's the references in media-pvc.yaml that are incorrect, i fixed it locally by editing the file media-pvc.yaml and adding dollars to source from root at the 3 following place:
{{- with $.Values.extraAnnotations }}{{- range $key, $value := $.Values.extraLabels }}namespace: {{ $.Release.Namespace }}If someone can have a look and confirm i'd be thankful.
Steps to reproduce
Steps to reproduce the behavior:
Deployment method (select with an
X)Environment information