Skip to content

Commit

Permalink
fix(helm): remove unused env
Browse files Browse the repository at this point in the history
  • Loading branch information
leofvo committed Oct 12, 2024
1 parent 894d2df commit e87e857
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions helm/defectdojo/templates/initializer-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit e87e857

Please sign in to comment.