diff --git a/pkg/openstack/galera.go b/pkg/openstack/galera.go index 7cea8a6d1..65963743c 100644 --- a/pkg/openstack/galera.go +++ b/pkg/openstack/galera.go @@ -168,6 +168,10 @@ func reconcileGalera( return galeraReady, nil } + if spec.NodeSelector == nil && instance.Spec.NodeSelector != nil { + spec.NodeSelector = instance.Spec.NodeSelector + } + Log.Info("Reconciling Galera", "Galera.Namespace", instance.Namespace, "Galera.Name", name) op, err := controllerutil.CreateOrPatch(ctx, helper.GetClient(), galera, func() error { spec.DeepCopyInto(&galera.Spec.GaleraSpecCore)