TrueChartsClone/charts/dev/snipe-it/templates/common.yaml

12 lines
362 B
YAML

{{/* Make sure all variables are set properly */}}
{{- include "tc.v1.common.loader.init" . }}
{{/* Render secrets for snipeit */}}
{{- $secrets := include "snipeit.secrets" . | fromYaml -}}
{{- if $secrets -}}
{{- $_ := set .Values.secret "snipeit-secrets" $secrets -}}
{{- end -}}
{{/* Render the templates */}}
{{ include "tc.v1.common.loader.apply" . }}