Browse Source

Reconcile statefulset spec.selector

pull/6/head
Andrey Inishev 1 year ago
parent
commit
aa14411cdb
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

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

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


Loading…
Cancel
Save