mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
17 lines
No EOL
555 B
YAML
17 lines
No EOL
555 B
YAML
{{/* First Make sure all variables are set and merged properly */}}
|
|
{{- include "common.values.setup" . }}
|
|
|
|
{{/* Append the configMap volume to the volumes */}}
|
|
{{- define "searxng.settingsVolume" -}}
|
|
enabled: "true"
|
|
mountPath: "/etc/searxng/settings.yml"
|
|
subPath: "settings.yml"
|
|
type: "custom"
|
|
volumeSpec:
|
|
secret:
|
|
secretName: {{ include "common.names.fullname" . }}-config
|
|
{{- end -}}
|
|
{{- $_ := set .Values.persistence "searxng-config" (include "searxng.settingsVolume" . | fromYaml) -}}
|
|
|
|
{{/* Render the templates */}}
|
|
{{ include "common.all" . }} |