From 57c1b4d6418761e8ab77b2e0e67f0337610e1fff Mon Sep 17 00:00:00 2001 From: Stacky McStackface Date: Tue, 16 Sep 2025 10:42:45 +0000 Subject: [PATCH 1/2] chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4bf7f0a067e03a7d61b219375cda334186 Reference-to: stackabletech/operator-templating@9937fb4 (This allows Pod `priorityClassName` to be configured in operators (excluding listener-operator and secret-operator). It requires a CHANGELOG entry before merging (see example in ).) --- .yamllint.yaml | 1 + deploy/helm/spark-k8s-operator/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.yamllint.yaml b/.yamllint.yaml index 769cda16..08bf167f 100644 --- a/.yamllint.yaml +++ b/.yamllint.yaml @@ -12,3 +12,4 @@ rules: min-spaces-from-content: 1 # Needed due to https://github.com/adrienverge/yamllint/issues/443 indentation: indent-sequences: consistent + comments-indentation: disable # This is generally useless and interferes with commented example values diff --git a/deploy/helm/spark-k8s-operator/templates/deployment.yaml b/deploy/helm/spark-k8s-operator/templates/deployment.yaml index 8615cd70..4601af6f 100644 --- a/deploy/helm/spark-k8s-operator/templates/deployment.yaml +++ b/deploy/helm/spark-k8s-operator/templates/deployment.yaml @@ -95,3 +95,6 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} From 63c4223e8b886e23a73e27d6a79a9875431d81cd Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Tue, 16 Sep 2025 13:02:49 +0200 Subject: [PATCH 2/2] chore: Update changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 71ecf30b..e7a63404 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file. ### Added - Add experimental support for Spark 4 ([#589]) +- Helm: Allow Pod `priorityClassName` to be configured ([#608]). ### Fixed @@ -14,6 +15,7 @@ All notable changes to this project will be documented in this file. [#589]: https://github.com/stackabletech/spark-k8s-operator/pull/589 [#603]: https://github.com/stackabletech/spark-k8s-operator/pull/603 +[#608]: https://github.com/stackabletech/spark-k8s-operator/pull/608 ## [25.7.0] - 2025-07-23