feat: Add priorityClassName (#91)

* feat: Add priorityClassName

* Change to quote func

Co-authored-by: Gaston Festari <cilindrox@gmail.com>

---------

Co-authored-by: Alexander Lewis <alexander.lewis@ashworthhome.io>
Co-authored-by: Gaston Festari <cilindrox@gmail.com>
This commit is contained in:
Alex Lewis 2023-10-12 04:40:50 +10:00 committed by GitHub
parent aced6b1800
commit 220d49f51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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 | `[]` |

View File

@ -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: {}

View File

@ -154,6 +154,8 @@ tolerations: []
affinity: {}
priorityClassName: ""
# Common Labels for all resources created by this chart.
commonLabels: {}