From cc512307d2a70833040084536804a7f7369c94d6 Mon Sep 17 00:00:00 2001 From: Stacky McStackface Date: Tue, 16 Sep 2025 09:30:41 +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/opensearch-operator/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.yamllint.yaml b/.yamllint.yaml index 769cda1..08bf167 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/opensearch-operator/templates/deployment.yaml b/deploy/helm/opensearch-operator/templates/deployment.yaml index 8615cd7..4601af6 100644 --- a/deploy/helm/opensearch-operator/templates/deployment.yaml +++ b/deploy/helm/opensearch-operator/templates/deployment.yaml @@ -95,3 +95,6 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.priorityClassName }} + priorityClassName: {{ . }} + {{- end }} From 59bb7727576b31f51af50c3c84fdd30f20f93bfd Mon Sep 17 00:00:00 2001 From: Nick Larsen Date: Tue, 16 Sep 2025 12:34:11 +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 3ed8168..29c0710 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,8 +20,10 @@ All notable changes to this project will be documented in this file. - Make the environment variables `OPENSEARCH_HOME` and `OPENSEARCH_PATH_CONF` overridable, so that images can be used which have a different directory structure than the Stackable image ([#18]). - Add Prometheus labels and annotations to role-group services ([#26]). +- Helm: Allow Pod `priorityClassName` to be configured ([#34]). [#10]: https://github.com/stackabletech/opensearch-operator/pull/10 [#17]: https://github.com/stackabletech/opensearch-operator/pull/17 [#18]: https://github.com/stackabletech/opensearch-operator/pull/18 [#26]: https://github.com/stackabletech/opensearch-operator/pull/26 +[#34]: https://github.com/stackabletech/opensearch-operator/pull/34