From d4a422dfb3746595ea8c0df0ed25a0dd1d56af47 Mon Sep 17 00:00:00 2001 From: Matt Wise Date: Fri, 3 Apr 2026 09:06:31 -0700 Subject: [PATCH] feat(chart): add priorityClassName support Allow setting a priorityClassName on the controller pods via the Helm values. Co-Authored-By: Claude Opus 4.6 --- charts/vigil-controller/templates/deployment.yaml | 3 +++ charts/vigil-controller/values.yaml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/charts/vigil-controller/templates/deployment.yaml b/charts/vigil-controller/templates/deployment.yaml index 444f44c..60bb4c6 100644 --- a/charts/vigil-controller/templates/deployment.yaml +++ b/charts/vigil-controller/templates/deployment.yaml @@ -99,6 +99,9 @@ spec: {{- with .Values.volumes }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }} diff --git a/charts/vigil-controller/values.yaml b/charts/vigil-controller/values.yaml index acbc3db..17fcf7c 100644 --- a/charts/vigil-controller/values.yaml +++ b/charts/vigil-controller/values.yaml @@ -69,6 +69,8 @@ readinessProbe: initialDelaySeconds: 5 periodSeconds: 10 +# -- Priority class name for the controller pods +priorityClassName: "" # -- Node selector nodeSelector: {} # -- Tolerations