2023-12-25 17:17:28 +00:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
|
|
|
{{- include "tc.v1.common.loader.init" . }}
|
|
|
|
|
2024-02-17 13:24:04 +00:00
|
|
|
{{/* Render secret for hedgedoc */}}
|
|
|
|
{{- $secret := include "hedgedoc.secrets" . | fromYaml -}}
|
2023-12-25 17:17:28 +00:00
|
|
|
{{- if $secret -}}
|
2024-02-17 13:24:04 +00:00
|
|
|
{{- $_ := set .Values.secret "secrets" $secret -}}
|
2023-12-25 17:17:28 +00:00
|
|
|
{{- end -}}
|
|
|
|
|
|
|
|
{{/* Render the templates */}}
|
|
|
|
{{ include "tc.v1.common.loader.apply" . }}
|