cmd/k8s-operator: add priorityClassName support to helm chart (#19236)

Expose priorityClassName in the operator Helm chart values so that
users can configure the operator deployment with a Kubernetes
PriorityClass. This prevents the operator pods from being preempted
by lower-priority workloads.

Fixes #19235

Signed-off-by: Bjorn Stange <bjorn.stange@expel.io>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bjorn Stange 2026-04-17 07:57:12 -04:00 committed by GitHub
parent 00a08ea86d
commit 47ecbe5845
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -146,3 +146,6 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.operatorConfig.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}

View File

@ -72,6 +72,8 @@ operatorConfig:
affinity: {}
priorityClassName: ""
podSecurityContext: {}
securityContext: {}