Browse Source

fix rabbitmq statefulset selector reconcile

master
Andrey Inishev 1 month ago
parent
commit
1b81da6b54
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      pkg/controller/rabbitmq/rabbitmq_controller.go

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

@@ -228,6 +228,7 @@ func (r *ReconcileRabbitmq) Reconcile(request reconcile.Request) (reconcile.Resu
if !reflect.DeepEqual(statefulsetFound.Spec, statefulset.Spec) {
statefulsetFound.Spec.Replicas = statefulset.Spec.Replicas
statefulsetFound.Spec.Template = statefulset.Spec.Template
statefulsetFound.Spec.Selector = statefulset.Spec.Selector
}

if !reflect.DeepEqual(statefulsetFound.Annotations, statefulset.Annotations) {

Loading…
Cancel
Save