Skip to content

Commit b84851b

Browse files
committed
feat(template/helm): Allow Pod priority, priorityClassName, and preemptionPolicy to be configured
Part of stackabletech/issues#765
1 parent 72f3b9b commit b84851b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

template/deploy/helm/[[operator]]/templates/deployment.yaml.j2

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,15 @@ spec:
104104
tolerations:
105105
{{- toYaml . | nindent 8 }}
106106
{{- end }}
107+
{{- with .Values.priority }}
108+
priority: {{ . }}
109+
{{- end }}
110+
{{- with .Values.priorityClassName }}
111+
priorityClassName: {{ . }}
112+
{{- end }}
113+
{{- with .Values.preemptionPolicy }}
114+
preemptionPolicy: {{ . }}
115+
{{- end }}
107116
{[% else %}]
108117
# Templated Deployment disabled for this operator
109118
{[% endif %}]

0 commit comments

Comments
 (0)