scale-catalog/stable/plex-meta-manager/5.4.0/templates/_secret.tpl
Julian Haseleu 5d1ab94342 cleanup
2024-07-14 21:54:53 +00:00

18 lines
446 B
Smarty

{{/* Define the secret */}}
{{- define "pmm.secret" -}}
{{- $pmm := .Values.pmm }}
enabled: true
data:
{{/* PMM */}}
PMM_CONFIG: "/config/config.yml"
{{- if not $pmm.run }}
PMM_TIME: {{ join "," $pmm.times | quote }}
PMM_NO_COUNTDOWN: {{ $pmm.no_countdown | quote }}
{{- end }}
PMM_RUN: {{ $pmm.run | quote }}
{{/* plex */}}
PMM_PLEX_URL: {{ $pmm.plex_url | quote }}
PMM_PLEX_TOKEN: {{ $pmm.plex_token | quote }}
{{- end -}}