scale-catalog/stable/audiobookshelf/10.1.2/templates/common.yaml

15 lines
495 B
YAML
Raw Normal View History

2024-07-13 07:59:30 +00:00
{{/* 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" . }}