From 580d063de4b4702362a0eccbf72e5d944c926c8e Mon Sep 17 00:00:00 2001 From: Flozza Date: Mon, 24 Mar 2025 01:01:01 +1030 Subject: [PATCH] Add option for priorityClassName (#59) Signed-off-by: javex --- charts/jellyfin/templates/deployment.yaml | 3 +++ charts/jellyfin/values.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/charts/jellyfin/templates/deployment.yaml b/charts/jellyfin/templates/deployment.yaml index 6963638..188540e 100644 --- a/charts/jellyfin/templates/deployment.yaml +++ b/charts/jellyfin/templates/deployment.yaml @@ -125,3 +125,6 @@ spec: {{- with .Values.runtimeClassName }} runtimeClassName: {{ . | quote }} {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . | quote }} + {{- end }} diff --git a/charts/jellyfin/values.yaml b/charts/jellyfin/values.yaml index 84fa5e3..382ad37 100644 --- a/charts/jellyfin/values.yaml +++ b/charts/jellyfin/values.yaml @@ -53,6 +53,9 @@ securityContext: {} # -- Define a custom runtimeClassName for the pod. runtimeClassName: '' +# -- Define a priorityClassName for the pod. +priorityClassName: "" + # -- Deployment strategy configuration. See `kubectl explain deployment.spec.strategy`. deploymentStrategy: type: RollingUpdate