scale-catalog/premium/vaultwarden/27.1.1/templates/common.yaml
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

18 lines
595 B
YAML

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