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