feat: add pod priorityClassName
This commit is contained in:
@ -14,4 +14,4 @@ type: library
|
||||
|
||||
# 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.
|
||||
version: 1.3.1
|
||||
version: 1.4.0
|
||||
|
@ -1057,6 +1057,7 @@ It also uses the following configuration from the `$pod`:
|
||||
| `$pod.affinity ` | Expressions for affinity |
|
||||
| `$pod.tolerations ` | Toleration labels for pod assignment |
|
||||
| `$pod.podLabels` | Pod extra labels |
|
||||
| `$pod.priorityClassName` | Pod priorityClassName |
|
||||
|
||||
Underneath the hood, it invokes [`common.container`](#commoncontainer) template with `$pod` to populate the `PodSpec`'s container list.
|
||||
|
||||
|
@ -36,6 +36,9 @@ spec:
|
||||
tolerations:
|
||||
{{- toYaml . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- with $pod.priorityClassName }}
|
||||
priorityClassName: {{ . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
|
||||
{{- define "common.pod.template" -}}
|
||||
|
Reference in New Issue
Block a user