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/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 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 }}