From 010a453c7c2ab54d8db2d39b626a1f9895d2f4e7 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Mon, 18 Apr 2022 10:58:50 +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 d66c2d8..2364a2e 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 }} serviceAccountName: {{ include "droneRunner.fullname" . }} {{- with .Values.tolerations }} tolerations: diff --git a/values.yaml b/values.yaml index bac3757..f0291e0 100644 --- a/values.yaml +++ b/values.yaml @@ -16,6 +16,8 @@ fullnameOverride: "" podAnnotations: {} +podPriorityClassName: "" + podSecurityContext: {} # fsGroup: 2000