From f11c08b4ca276b135aa644cec0d75b025fafd291 Mon Sep 17 00:00:00 2001 From: Thumbscrew Date: Tue, 24 Oct 2023 00:47:04 +0200 Subject: [PATCH] fix: add missing PublishedServerUrl config option (#33) --- charts/jellyfin/Chart.yaml | 2 +- charts/jellyfin/templates/deployment.yaml | 5 +++++ charts/jellyfin/values.yaml | 4 ++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/charts/jellyfin/Chart.yaml b/charts/jellyfin/Chart.yaml index fc0de99..19e4b35 100644 --- a/charts/jellyfin/Chart.yaml +++ b/charts/jellyfin/Chart.yaml @@ -25,7 +25,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.0 +version: 0.2.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index 75c2d95..7de5016 100644 --- a/charts/jellyfin/templates/deployment.yaml +++ b/charts/jellyfin/templates/deployment.yaml @@ -48,6 +48,11 @@ spec: port: http periodSeconds: 10 failureThreshold: 6 + {{- if .Values.jellyfin.publishedServerUrl -}} + env: + - name: JELLYFIN_PublishedServerUrl + value: {{ .Values.jellyfin.publishedServerUrl }} + {{- end }} resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: diff --git a/charts/jellyfin/values.yaml b/charts/jellyfin/values.yaml index 86f8cdc..a8b20ef 100644 --- a/charts/jellyfin/values.yaml +++ b/charts/jellyfin/values.yaml @@ -34,6 +34,10 @@ securityContext: runAsUser: 1000 runAsGroup: 1000 +jellyfin: + # -- See PublishedServerUrl at https://jellyfin.org/docs/general/administration/configuration#main-configuration-options + publishedServerUrl: "" + persistence: # -- Persistence config for the /config volume config: