feat: support pod priorityClassName
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2022-04-18 11:03:21 +02:00
parent f2e14a1dd5
commit c93dc8ca8b
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 8 additions and 3 deletions

View File

@ -47,13 +47,16 @@ spec:
port: http port: http
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.affinity }} {{- if .Values.podPriorityClassName }}
affinity: priorityClassName: {{ .Values.podPriorityClassName }}
{{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
{{- with .Values.tolerations }} {{- with .Values.tolerations }}
tolerations: tolerations:

View File

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