Skip to content

Commit

Permalink
feat: Add priorityClassName (#91)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Oct 11, 2023
1 parent aced6b1 commit 220d49f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/plex-media-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions charts/plex-media-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 | `[]` |
Expand Down
3 changes: 3 additions & 0 deletions charts/plex-media-server/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: {}
Expand Down
2 changes: 2 additions & 0 deletions charts/plex-media-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ tolerations: []

affinity: {}

priorityClassName: ""

# Common Labels for all resources created by this chart.
commonLabels: {}

Expand Down

0 comments on commit 220d49f

Please sign in to comment.