From d8973beb5aac604ebeb63f36efc9fa2dacf0bc42 Mon Sep 17 00:00:00 2001 From: Em Karisch Date: Thu, 16 Dec 2021 10:05:32 +0100 Subject: [PATCH] [bitnami/rabbitmq-cluster-operator] fix: use the correct component for messaging-topology-operator pod affinities (#8412) --- bitnami/rabbitmq-cluster-operator/Chart.yaml | 2 +- .../templates/messaging-topology-operator/deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bitnami/rabbitmq-cluster-operator/Chart.yaml b/bitnami/rabbitmq-cluster-operator/Chart.yaml index 69d3b2805..5e1276671 100644 --- a/bitnami/rabbitmq-cluster-operator/Chart.yaml +++ b/bitnami/rabbitmq-cluster-operator/Chart.yaml @@ -25,4 +25,4 @@ name: rabbitmq-cluster-operator sources: - https://github.com/bitnami/bitnami-docker-rabbitmq-cluster-operator - https://github.com/rabbitmq/cluster-operator -version: 2.0.6 +version: 2.0.7 diff --git a/bitnami/rabbitmq-cluster-operator/templates/messaging-topology-operator/deployment.yaml b/bitnami/rabbitmq-cluster-operator/templates/messaging-topology-operator/deployment.yaml index 00d4270cf..984c9c694 100644 --- a/bitnami/rabbitmq-cluster-operator/templates/messaging-topology-operator/deployment.yaml +++ b/bitnami/rabbitmq-cluster-operator/templates/messaging-topology-operator/deployment.yaml @@ -46,8 +46,8 @@ spec: affinity: {{- include "common.tplvalues.render" ( dict "value" .Values.msgTopologyOperator.affinity "context" $) | nindent 8 }} {{- else }} affinity: - podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.msgTopologyOperator.podAffinityPreset "component" "rabbitmq-operator" "context" $) | nindent 10 }} - podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.msgTopologyOperator.podAntiAffinityPreset "component" "rabbitmq-operator" "context" $) | nindent 10 }} + podAffinity: {{- include "common.affinities.pods" (dict "type" .Values.msgTopologyOperator.podAffinityPreset "component" "messaging-topology-operator" "context" $) | nindent 10 }} + podAntiAffinity: {{- include "common.affinities.pods" (dict "type" .Values.msgTopologyOperator.podAntiAffinityPreset "component" "messaging-topology-operator" "context" $) | nindent 10 }} nodeAffinity: {{- include "common.affinities.nodes" (dict "type" .Values.msgTopologyOperator.nodeAffinityPreset.type "key" .Values.msgTopologyOperator.nodeAffinityPreset.key "values" .Values.msgTopologyOperator.nodeAffinityPreset.values) | nindent 10 }} {{- end }} {{- if .Values.msgTopologyOperator.nodeSelector }}