Add PriorityClass support to StatefulSet Pod template (#68)

This commit is contained in:
Brent Dearth
2023-09-04 02:49:05 -06:00
committed by GitHub
parent d101737c31
commit afdec2c6f4
2 changed files with 5 additions and 0 deletions

View File

@@ -32,6 +32,9 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: "{{ .Values.priorityClassName }}"
{{- end }}
initContainers:
{{- if .Values.updateVolumeFsOwnership }}
{{- if and .Values.containerSecurityContext .Values.containerSecurityContext.runAsUser }}

View File

@@ -170,6 +170,8 @@ metrics:
##
relabelings: []
priorityClassName: ""
podDisruptionBudget:
enabled: false
maxUnavailable: 1