Merge pull request #475 from tiesmaster/472/wire-up-priorityClassName

chart: Add support for setting the priorityClassName
This commit is contained in:
Stefan Prodan
2026-04-23 10:11:47 +03:00
committed by GitHub
3 changed files with 6 additions and 0 deletions

View File

@@ -130,6 +130,7 @@ The following tables lists the configurable parameters of the podinfo chart and
| `nodeSelector` | `{}` | Node labels for pod assignment |
| `tolerations` | `[]` | List of node taints to tolerate |
| `affinity` | `None` | Node/pod affinities |
| `priorityClassName` | `""` | Pod priority class name |
Specify each parameter using the `--set key=value[,key=value]` argument:

View File

@@ -214,6 +214,9 @@ spec:
{{- with .Values.tolerations }}
tolerations:
{{ toYaml . | indent 8 }}
{{- end }}
{{- with .Values.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
volumes:
- name: data

View File

@@ -272,6 +272,8 @@ tolerations: []
affinity: {}
priorityClassName: ""
podAnnotations: {}
# https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/