Allow configuration of priorityClassName on spire-server statefulset (#480)

This commit is contained in:
Inverse Integral
2023-09-12 22:31:23 +02:00
committed by GitHub
parent 9ad2ed59b1
commit 1f908676bb
4 changed files with 12 additions and 4 deletions
@@ -49,6 +49,9 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- if or (gt (len .Values.initContainers) 0) (and .Values.upstreamAuthority.certManager.enabled .Values.upstreamAuthority.certManager.ca.create) }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
initContainers:
{{- if and .Values.upstreamAuthority.certManager.enabled .Values.upstreamAuthority.certManager.ca.create }}
- name: wait