Compare commits

...

4 Commits

4 changed files with 17 additions and 8 deletions

View File

@ -22,10 +22,10 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.0.0 version: 2.1.0
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using. # follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes. # It is recommended to use it with quotes.
appVersion: "v3.0.0" appVersion: "v3.1.0"

View File

@ -25,7 +25,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes # 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. # to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/) # Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0 version: 0.2.2
# This is the version number of the application being deployed. This version number should be # 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 # incremented each time you make changes to the application. Versions are not expected to

View File

@ -5,7 +5,9 @@ metadata:
labels: labels:
{{- include "jellyfin.labels" . | nindent 4 }} {{- include "jellyfin.labels" . | nindent 4 }}
spec: spec:
replicas: {{ .Values.replicaCount }} replicas: 1
strategy:
type: Recreate
selector: selector:
matchLabels: matchLabels:
{{- include "jellyfin.selectorLabels" . | nindent 6 }} {{- include "jellyfin.selectorLabels" . | nindent 6 }}
@ -45,7 +47,12 @@ spec:
path: / path: /
port: http port: http
periodSeconds: 10 periodSeconds: 10
failureThreshold: 30 failureThreshold: 6
{{- if .Values.jellyfin.publishedServerUrl }}
env:
- name: JELLYFIN_PublishedServerUrl
value: {{ .Values.jellyfin.publishedServerUrl }}
{{- end }}
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
volumeMounts: volumeMounts:

View File

@ -2,8 +2,6 @@
# This is a YAML-formatted file. # This is a YAML-formatted file.
# Declare variables to be passed into your templates. # Declare variables to be passed into your templates.
replicaCount: 1
image: image:
repository: jellyfin/jellyfin repository: jellyfin/jellyfin
pullPolicy: IfNotPresent pullPolicy: IfNotPresent
@ -34,7 +32,11 @@ securityContext:
readOnlyRootFilesystem: false readOnlyRootFilesystem: false
runAsNonRoot: true runAsNonRoot: true
runAsUser: 1000 runAsUser: 1000
fsGroup: 1000 runAsGroup: 1000
jellyfin:
# -- See PublishedServerUrl at https://jellyfin.org/docs/general/administration/configuration#main-configuration-options
publishedServerUrl: ""
persistence: persistence:
# -- Persistence config for the /config volume # -- Persistence config for the /config volume