TrueChartsClone/charts/stable/recipes/templates/common.yaml

19 lines
516 B
YAML

{{- include "common.setup" . }}
{{/* Append the hardcoded settings */}}
{{- define "recipes.harcodedValues" -}}
persistence:
recipes-config:
enabled: "true"
mountPath: "/app/config.json"
subPath: "config.json"
type: "custom"
volumeSpec:
configMap:
name: {{ printf "%v-config" (include "common.names.fullname" .) }}
{{- end -}}
{{- $_ := mergeOverwrite .Values (include "recipes.harcodedValues" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}