Files
catalog/dev/noisedash/3.0.13/templates/common.yaml
TrueCharts-Bot 2812eacda8 Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
2024-01-02 16:21:53 +00:00

22 lines
600 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{- define "noisedash.configvolume" -}}
enabled: true
mountPath: /var/noisedash/config
type: custom
readOnly: true
volumeSpec:
configMap:
name: {{ include "tc.v1.common.names.fullname" . }}-noisedash-config
items:
- key: default.json
path: default.json
{{- end -}}
{{- include "noisedash.config" . -}}
{{- $_ := set .Values.persistence "noisedash-config" (include "noisedash.configvolume" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}