Skip to content

Commit e2d2b1c

Browse files
committed
feat: add support for setting the priorityClassName
1 parent aa59f2a commit e2d2b1c

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

charts/podinfo/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ The following tables lists the configurable parameters of the podinfo chart and
130130
| `nodeSelector` | `{}` | Node labels for pod assignment |
131131
| `tolerations` | `[]` | List of node taints to tolerate |
132132
| `affinity` | `None` | Node/pod affinities |
133+
| `priorityClassName` | `""` | Pod priority class name |
133134

134135
Specify each parameter using the `--set key=value[,key=value]` argument:
135136

charts/podinfo/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ spec:
214214
{{- with .Values.tolerations }}
215215
tolerations:
216216
{{ toYaml . | indent 8 }}
217+
{{- end }}
218+
{{- with .Values.priorityClassName }}
219+
priorityClassName: {{ . }}
217220
{{- end }}
218221
volumes:
219222
- name: data

charts/podinfo/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,8 @@ tolerations: []
272272

273273
affinity: {}
274274

275+
priorityClassName: ""
276+
275277
podAnnotations: {}
276278

277279
# https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/

0 commit comments

Comments
 (0)