Skip to content

Commit 220d49f

Browse files
ajalewisAlexander Lewiscilindrox
authored
feat: Add priorityClassName (#91)
* feat: Add priorityClassName * Change to quote func Co-authored-by: Gaston Festari <[email protected]> --------- Co-authored-by: Alexander Lewis <[email protected]> Co-authored-by: Gaston Festari <[email protected]>
1 parent aced6b1 commit 220d49f

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

charts/plex-media-server/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type: application
2222
# This is the chart version. This version number should be incremented each time you make changes
2323
# to the chart and its templates, including the app version.
2424
# Versions are expected to follow Semantic Versioning (https://semver.org/)
25-
version: 0.1.5
25+
version: 0.1.6
2626

2727
# This is the version number of the application being deployed. This version number should be
2828
# incremented each time you make changes to the application. Versions are not expected to

charts/plex-media-server/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ The following table lists the configurable parameters of the Pms-chart chart and
116116
| `nodeSelector` | | `{}` |
117117
| `tolerations` | | `[]` |
118118
| `affinity` | | `{}` |
119+
| `priorityClassName` | | `""` |
119120
| `commonLabels` | Labels that will be added to all resources created by the chart | `{}` |
120121
| `extraEnv` | Environment variables that will be added to the PMS container | `{}` |
121122
| `extraVolumeMounts` | Additional volume mount configuration blocks for the pms container | `[]` |

charts/plex-media-server/templates/statefulset.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ spec:
2626
{{- toYaml .Values.nodeSelector | nindent 8 }}
2727
affinity:
2828
{{- toYaml .Values.affinity | nindent 8 }}
29+
{{- if .Values.priorityClassName }}
30+
priorityClassName: {{ .Values.priorityClassName | quote }}
31+
{{- end }}
2932
volumes:
3033
- name: pms-transcode
3134
emptyDir: {}

charts/plex-media-server/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,8 @@ tolerations: []
154154

155155
affinity: {}
156156

157+
priorityClassName: ""
158+
157159
# Common Labels for all resources created by this chart.
158160
commonLabels: {}
159161

0 commit comments

Comments
 (0)