Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/defectdojo/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ dependencies:
# description: Critical bug
annotations:
artifacthub.io/prerelease: "true"
artifacthub.io/changes: "- kind: changed\n description: chore(deps)_ update valkey _ tag from 0.22.1 to v0.23.0 (_/defect_/chart.yaml)\n"
artifacthub.io/changes: "- kind: changed\n description: chore(deps)_ update valkey _ tag from 0.22.1 to v0.23.0 (_/defect_/chart.yaml)\n- kind: fixed\n description: Set UTF-8 locale defaults for Helm chart containers\n"
5 changes: 4 additions & 1 deletion helm/defectdojo/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,12 @@ data:
DD_DJANGO_METRICS_ENABLED: '{{ .Values.monitoring.enabled }}'
NGINX_METRICS_ENABLED: '{{ .Values.monitoring.enabled }}'
METRICS_HTTP_AUTH_USER: {{ .Values.monitoring.user | default "monitoring" }}
PYTHONUTF8: {{ ternary (index .Values.extraConfigs "PYTHONUTF8") "1" (hasKey .Values.extraConfigs "PYTHONUTF8") | quote }}
LANG: {{ ternary (index .Values.extraConfigs "LANG") "C.UTF-8" (hasKey .Values.extraConfigs "LANG") | quote }}
LC_ALL: {{ ternary (index .Values.extraConfigs "LC_ALL") "C.UTF-8" (hasKey .Values.extraConfigs "LC_ALL") | quote }}
{{- if .Values.django.uwsgi.certificates.enabled }}
REQUESTS_CA_BUNDLE: {{ .Values.django.uwsgi.certificates.certMountPath }}{{ .Values.django.uwsgi.certificates.certFileName }}
{{- end }}
{{- with .Values.extraConfigs }}
{{- with omit .Values.extraConfigs "PYTHONUTF8" "LANG" "LC_ALL" }}
{{- toYaml . | nindent 2 }}
{{- end }}
Loading