Allow setting priorityClassName via helm chart (#5255)

Co-authored-by: Joe Previte <jjprevite@gmail.com>
This commit is contained in:
Tim Bordemann 2022-07-18 21:27:54 +02:00 committed by GitHub
parent 19f486b672
commit 530bb66d7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

@ -25,6 +25,9 @@ spec:
{{- if .Values.hostnameOverride }} {{- if .Values.hostnameOverride }}
hostname: {{ .Values.hostnameOverride }} hostname: {{ .Values.hostnameOverride }}
{{- end }} {{- end }}
{{- if .Values.priorityClassName }}
priorityClassName: {{ .Values.priorityClassName }}
{{- end }}
{{- if .Values.securityContext.enabled }} {{- if .Values.securityContext.enabled }}
securityContext: securityContext:
fsGroup: {{ .Values.securityContext.fsGroup }} fsGroup: {{ .Values.securityContext.fsGroup }}

View File

@ -33,6 +33,8 @@ podAnnotations: {}
podSecurityContext: {} podSecurityContext: {}
# fsGroup: 2000 # fsGroup: 2000
priorityClassName: ""
service: service:
type: ClusterIP type: ClusterIP
port: 8080 port: 8080