Skip to content

Commit f62cbd1

Browse files
feat(helm): Allow Pod priorityClassName to be configured (#34)
* chore: Generated commit to update templated files since the last template run up to stackabletech/operator-templating@9937fb4 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 <stackabletech/operator-templating#551>).) * chore: Update changelog --------- Co-authored-by: Nick Larsen <nick.larsen@stackable.tech>
1 parent 671aa0d commit f62cbd1

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.yamllint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ rules:
1212
min-spaces-from-content: 1 # Needed due to https://github.com/adrienverge/yamllint/issues/443
1313
indentation:
1414
indent-sequences: consistent
15+
comments-indentation: disable # This is generally useless and interferes with commented example values

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ All notable changes to this project will be documented in this file.
2020
- Make the environment variables `OPENSEARCH_HOME` and `OPENSEARCH_PATH_CONF` overridable, so that
2121
images can be used which have a different directory structure than the Stackable image ([#18]).
2222
- Add Prometheus labels and annotations to role-group services ([#26]).
23+
- Helm: Allow Pod `priorityClassName` to be configured ([#34]).
2324

2425
[#10]: https://github.com/stackabletech/opensearch-operator/pull/10
2526
[#17]: https://github.com/stackabletech/opensearch-operator/pull/17
2627
[#18]: https://github.com/stackabletech/opensearch-operator/pull/18
2728
[#26]: https://github.com/stackabletech/opensearch-operator/pull/26
29+
[#34]: https://github.com/stackabletech/opensearch-operator/pull/34

deploy/helm/opensearch-operator/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,6 @@ spec:
9595
tolerations:
9696
{{- toYaml . | nindent 8 }}
9797
{{- end }}
98+
{{- with .Values.priorityClassName }}
99+
priorityClassName: {{ . }}
100+
{{- end }}

0 commit comments

Comments
 (0)