mirror of
https://gitlab.durp.info/durfy/homelab/gitops.git
synced 2026-05-07 07:50:29 -05:00
add searxng
This commit is contained in:
parent
04b638b8f9
commit
a6437bb109
7 changed files with 206 additions and 0 deletions
17
dmz/searxng/templates/common.yaml
Normal file
17
dmz/searxng/templates/common.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{{/* 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" . }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue