feat: support pod priorityClassName
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2022-04-18 10:44:20 +02:00
parent 0b482a45d0
commit c336536512
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 5 additions and 0 deletions

View File

@ -49,6 +49,9 @@ spec:
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- if .Values.podPriorityClassName }}
priorityClassName: {{ .Values.podPriorityClassName }}
{{- end }}
securityContext: securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }} {{- toYaml .Values.podSecurityContext | nindent 8 }}
serviceAccountName: {{ include "drone.fullname" . }} serviceAccountName: {{ include "drone.fullname" . }}

View File

@ -16,6 +16,8 @@ fullnameOverride: ""
podAnnotations: {} podAnnotations: {}
podPriorityClassName: ""
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000