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