From 530bb66d7c91db0113701025d39421d255bffb60 Mon Sep 17 00:00:00 2001 From: Tim Bordemann <7645199+timbrd@users.noreply.github.com> Date: Mon, 18 Jul 2022 21:27:54 +0200 Subject: [PATCH] Allow setting priorityClassName via helm chart (#5255) Co-authored-by: Joe Previte --- ci/helm-chart/templates/deployment.yaml | 3 +++ ci/helm-chart/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ci/helm-chart/templates/deployment.yaml b/ci/helm-chart/templates/deployment.yaml index f137a9d2a..f36806553 100644 --- a/ci/helm-chart/templates/deployment.yaml +++ b/ci/helm-chart/templates/deployment.yaml @@ -25,6 +25,9 @@ spec: {{- if .Values.hostnameOverride }} hostname: {{ .Values.hostnameOverride }} {{- end }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName }} + {{- end }} {{- if .Values.securityContext.enabled }} securityContext: fsGroup: {{ .Values.securityContext.fsGroup }} diff --git a/ci/helm-chart/values.yaml b/ci/helm-chart/values.yaml index 636a16951..ccc5b8a82 100644 --- a/ci/helm-chart/values.yaml +++ b/ci/helm-chart/values.yaml @@ -33,6 +33,8 @@ podAnnotations: {} podSecurityContext: {} # fsGroup: 2000 +priorityClassName: "" + service: type: ClusterIP port: 8080