catalog/stable/audiobookshelf/8.1.14/templates/common.yaml

15 lines
495 B
YAML

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