catalog/stable/inventree/7.0.33/templates/common.yaml

16 lines
600 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}
{{/* Render secrets for inventree */}}
{{- include "inventree.secrets" . }}
{{/* Render config for inventree */}}
{{- include "inventree.config" . }}
{{- $_ := set .Values.initContainers "init" (include "inventree.init" . | fromYaml) -}}
{{- $_ := set .Values.additionalContainers "nginx" (include "inventree.nginx" . | fromYaml) -}}
{{- $_ := set .Values.additionalContainers "worker" (include "inventree.worker" . | fromYaml) -}}
{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}