diff --git a/charts/plex-media-server/Chart.yaml b/charts/plex-media-server/Chart.yaml index cf176a9..4cae96a 100644 --- a/charts/plex-media-server/Chart.yaml +++ b/charts/plex-media-server/Chart.yaml @@ -22,7 +22,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.5 +version: 0.1.6 # 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/plex-media-server/README.md b/charts/plex-media-server/README.md index 83916b8..be783b5 100644 --- a/charts/plex-media-server/README.md +++ b/charts/plex-media-server/README.md @@ -116,6 +116,7 @@ The following table lists the configurable parameters of the Pms-chart chart and | `nodeSelector` | | `{}` | | `tolerations` | | `[]` | | `affinity` | | `{}` | +| `priorityClassName` | | `""` | | `commonLabels` | Labels that will be added to all resources created by the chart | `{}` | | `extraEnv` | Environment variables that will be added to the PMS container | `{}` | | `extraVolumeMounts` | Additional volume mount configuration blocks for the pms container | `[]` | diff --git a/charts/plex-media-server/templates/statefulset.yaml b/charts/plex-media-server/templates/statefulset.yaml index 0e968e4..cf0c75e 100644 --- a/charts/plex-media-server/templates/statefulset.yaml +++ b/charts/plex-media-server/templates/statefulset.yaml @@ -26,6 +26,9 @@ spec: {{- toYaml .Values.nodeSelector | nindent 8 }} affinity: {{- toYaml .Values.affinity | nindent 8 }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName | quote }} + {{- end }} volumes: - name: pms-transcode emptyDir: {} diff --git a/charts/plex-media-server/values.yaml b/charts/plex-media-server/values.yaml index 4e89668..e8b46c2 100644 --- a/charts/plex-media-server/values.yaml +++ b/charts/plex-media-server/values.yaml @@ -154,6 +154,8 @@ tolerations: [] affinity: {} +priorityClassName: "" + # Common Labels for all resources created by this chart. commonLabels: {}