diff --git a/charts/jellyfin/Chart.yaml b/charts/jellyfin/Chart.yaml index 153a5e6..fc0de99 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.1.0 +version: 0.2.0 # 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 a500672..75c2d95 100644 --- a/charts/jellyfin/templates/deployment.yaml +++ b/charts/jellyfin/templates/deployment.yaml @@ -5,7 +5,9 @@ metadata: labels: {{- include "jellyfin.labels" . | nindent 4 }} spec: - replicas: {{ .Values.replicaCount }} + replicas: 1 + strategy: + type: Recreate selector: matchLabels: {{- include "jellyfin.selectorLabels" . | nindent 6 }} @@ -45,7 +47,7 @@ spec: path: / port: http periodSeconds: 10 - failureThreshold: 30 + failureThreshold: 6 resources: {{- toYaml .Values.resources | nindent 12 }} volumeMounts: diff --git a/charts/jellyfin/values.yaml b/charts/jellyfin/values.yaml index 0d06be3..86f8cdc 100644 --- a/charts/jellyfin/values.yaml +++ b/charts/jellyfin/values.yaml @@ -2,8 +2,6 @@ # This is a YAML-formatted file. # Declare variables to be passed into your templates. -replicaCount: 1 - image: repository: jellyfin/jellyfin pullPolicy: IfNotPresent @@ -34,7 +32,7 @@ securityContext: readOnlyRootFilesystem: false runAsNonRoot: true runAsUser: 1000 - fsGroup: 1000 + runAsGroup: 1000 persistence: # -- Persistence config for the /config volume