diff --git a/helm/defectdojo/templates/initializer-job.yaml b/helm/defectdojo/templates/initializer-job.yaml index 000352e4190..947317be2f5 100644 --- a/helm/defectdojo/templates/initializer-job.yaml +++ b/helm/defectdojo/templates/initializer-job.yaml @@ -67,16 +67,6 @@ spec: name: {{ $fullName }} optional: true env: - - name: DD_DATABASE_PASSWORD - valueFrom: - secretKeyRef: - {{- if eq .Values.database "postgresql" }} - name: {{ .Values.postgresql.auth.existingSecret }} - key: {{ .Values.postgresql.auth.secretKeys.userPasswordKey }} - {{- else if eq .Values.database "postgresqlha" }} - name: {{ .Values.postgresqlha.postgresql.existingSecret }} - key: postgresql-postgres-password - {{- end }} {{- if .Values.extraEnv }} {{- toYaml .Values.extraEnv | nindent 8 }} {{- end }}