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

22 lines
589 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 secrets for recipes */}}
{{- include "recipes.secrets" . }}
{{/* Render the templates */}}
{{ include "common.postSetup" . }}