Browse Source

fix statefulset

master
Andrey Inishev 1 year ago
parent
commit
a454977dc9
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      pkg/controller/rabbitmq/rabbitmq_controller.go

+ 1
- 3
pkg/controller/rabbitmq/rabbitmq_controller.go View File

@@ -452,9 +452,7 @@ func newStatefulSet(cr *rabbitmqv1.Rabbitmq, secretNames secretResouces) *v1.Sta

podTemplate := corev1.PodTemplateSpec{
ObjectMeta: metav1.ObjectMeta{
Labels: mergeMaps(returnLabels(cr),
map[string]string{"rabbitmq.improvado.io/component": "messaging"},
),
Labels: returnLabels(cr),
Annotations: returnAnnotations(cr),
},
Spec: corev1.PodSpec{


Loading…
Cancel
Save