{{- include "tc.v1.common.loader.init" . }}

{{/* Render secrets for Kitchenowl */}}
{{- $secrets := include "kitchenowl.secrets" . | fromYaml -}}
{{- if $secrets -}}
  {{- $_ := set .Values.secret "kitchenowl-secrets" $secrets -}}
{{- end -}}

{{/* Render configmap for Kitchenowl */}}
{{- $configmap := include "kitchenowl.configmap" . | fromYaml -}}
{{- if $configmap -}}
  {{- $_ := set .Values.configmap "kitchenowl-config" $configmap -}}
{{- end -}}

{{ include "tc.v1.common.loader.apply" . }}
