@@ -618,15 +618,15 @@ func (r *PerconaServerMySQLReconciler) reconcileServicePerPod(ctx context.Contex
618
618
func (r * PerconaServerMySQLReconciler ) reconcileMySQLServices (ctx context.Context , cr * apiv1alpha1.PerconaServerMySQL ) error {
619
619
_ = logf .FromContext (ctx ).WithName ("reconcileMySQLServices" )
620
620
621
- if err := k8s .EnsureService (ctx , r .Client , cr , mysql .UnreadyService (cr ), r .Scheme , true ); err != nil {
621
+ if err := k8s .EnsureService (ctx , r .Client , cr , mysql .UnreadyService (cr ), r .Scheme , false ); err != nil {
622
622
return errors .Wrap (err , "reconcile unready svc" )
623
623
}
624
624
625
- if err := k8s .EnsureService (ctx , r .Client , cr , mysql .HeadlessService (cr ), r .Scheme , true ); err != nil {
625
+ if err := k8s .EnsureService (ctx , r .Client , cr , mysql .HeadlessService (cr ), r .Scheme , false ); err != nil {
626
626
return errors .Wrap (err , "reconcile headless svc" )
627
627
}
628
628
629
- if err := k8s .EnsureService (ctx , r .Client , cr , mysql .ProxyService (cr ), r .Scheme , true ); err != nil {
629
+ if err := k8s .EnsureService (ctx , r .Client , cr , mysql .ProxyService (cr ), r .Scheme , false ); err != nil {
630
630
return errors .Wrap (err , "reconcile proxy svc" )
631
631
}
632
632
0 commit comments