update extra volumes to allow php config updates; also reload deployment on configmap changes

This commit is contained in:
jessebot
2025-01-19 13:40:41 +01:00
parent 1ec6aa2310
commit 967acbd85b
5 changed files with 66 additions and 13 deletions
@@ -0,0 +1,12 @@
{{- if .Values.phpConfigs -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ template "pixelfed.fullname" . }}-phpconfig
data:
{{- range $key, $value := .Values.phpConfigs }}
{{ $key }}: |-
{{- $value | nindent 4 }}
{{- end }}
{{- end }}