{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}

{{/* Render secret */}}
{{- include "mealie.secret" . }}

{{/* Render config */}}
{{- include "mealie.config" . }}

{{- $_ := set .Values.additionalContainers "api" (include "mealie.api" . | fromYaml) -}}

{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}
