2022-04-18 06:29:33 +00:00
|
|
|
{{/* Make sure all variables are set properly */}}
|
2023-04-14 16:11:04 +00:00
|
|
|
{{- include "tc.v1.common.loader.init" . }}
|
2022-04-18 06:29:33 +00:00
|
|
|
|
2022-11-16 14:58:08 +00:00
|
|
|
{{/* Render secrets for audiobookshelf */}}
|
2023-04-14 16:11:04 +00:00
|
|
|
{{- $secrets := include "audiobookshelf.secrets" . | fromYaml -}}
|
|
|
|
{{- if $secrets -}}
|
|
|
|
{{- $_ := set .Values.secret "secrets" $secrets -}}
|
|
|
|
{{- end -}}
|
2022-11-16 14:58:08 +00:00
|
|
|
|
2022-11-13 23:09:49 +00:00
|
|
|
{{- $newMiddlewares := list "tc-opencors-chain" }}
|
|
|
|
{{- $_ := set .Values.ingress.main "fixedMiddlewares" $newMiddlewares -}}
|
2022-04-18 06:29:33 +00:00
|
|
|
|
|
|
|
{{/* Render the templates */}}
|
2023-04-14 16:11:04 +00:00
|
|
|
{{ include "tc.v1.common.loader.apply" . }}
|