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