From c5eb3ecab2d13f4e7c6bacf32c4f94d1e9e3aacb Mon Sep 17 00:00:00 2001 From: Marcel Jansen <34770714+Marcel-Jansen@users.noreply.github.com> Date: Mon, 25 Apr 2022 14:58:16 +0200 Subject: [PATCH] Add nodeSelector and affinity to ActiveMQ Artemis chart --- charts/activemq-artemis/templates/statefulsets.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/activemq-artemis/templates/statefulsets.yaml b/charts/activemq-artemis/templates/statefulsets.yaml index dc5e9a8..1a16f75 100644 --- a/charts/activemq-artemis/templates/statefulsets.yaml +++ b/charts/activemq-artemis/templates/statefulsets.yaml @@ -114,3 +114,9 @@ spec: {{- if .Values.extraVolumes }} {{ toYaml .Values.extraVolumes | indent 6 }} {{- end }} +{{- if .Values.nodeSelector }} +{{ toYaml .Values.nodeSelector | indent 8 }} +{{- end }} +{{- if .Values.affinity }} +{{ toYaml .Values.affinity | indent 8 }} +{{- end }}