From c336536512ed46db8b09632ed0393f5ab40b23cf Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 18 Apr 2022 10:44:20 +0200 Subject: [PATCH] feat: support pod priorityClassName --- templates/deployment.yaml | 3 +++ values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/templates/deployment.yaml b/templates/deployment.yaml index d344808..e235838 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -49,6 +49,9 @@ spec: nodeSelector: {{- toYaml . | nindent 8 }} {{- end }} + {{- if .Values.podPriorityClassName }} + priorityClassName: {{ .Values.podPriorityClassName }} + {{- end }} securityContext: {{- toYaml .Values.podSecurityContext | nindent 8 }} serviceAccountName: {{ include "drone.fullname" . }} diff --git a/values.yaml b/values.yaml index 0180fb6..451896d 100644 --- a/values.yaml +++ b/values.yaml @@ -16,6 +16,8 @@ fullnameOverride: "" podAnnotations: {} +podPriorityClassName: "" + podSecurityContext: {} # fsGroup: 2000