{{/* Make sure all variables are set properly */}}
{{- include "tc.common.loader.init" . }}

{{/* Render secret */}}
{{- include "tfa.secret" . }}

{{- $tplArgs := (include "tfa.args" . | fromYaml) }}
{{- $_ := set .Values "tplArgs" $tplArgs -}}
{{- $args := concat .Values.args .Values.tplArgs.args }}
{{- $_ := set .Values "args" $args -}}

{{/* Render the templates */}}
{{ include "tc.common.loader.apply" . }}
