TrueChartsClone/charts/incubator/focalboard/templates/common.yaml

21 lines
602 B
YAML

{{- include "tc.common.loader.init" . }}
{{/* Append the hardcoded settings */}}
{{- define "focalboard.harcodedValues" -}}
persistence:
focalboard-config:
enabled: "true"
mountPath: "/opt/focalboard/config.json"
subPath: "focalboard-config"
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-install" (include "tc.common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "focalboard.harcodedValues" . | fromYaml) -}}
{{- include "focalboard.configmap" . }}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}