diff --git a/pkg/medusa/refresh_secrets.go b/pkg/medusa/refresh_secrets.go index f9d3629b5..6bd612aa4 100644 --- a/pkg/medusa/refresh_secrets.go +++ b/pkg/medusa/refresh_secrets.go @@ -15,7 +15,7 @@ import ( ) func RefreshSecrets(dc *cassdcapi.CassandraDatacenter, ctx context.Context, client client.Client, logger logr.Logger, requeueDelay time.Duration) error { - logger.Info(fmt.Sprintf("Restore complete for DC %#v, Refreshing secrets", dc.ObjectMeta)) + println(fmt.Sprintf("Restore complete for DC %#v, Refreshing secrets", dc.ObjectMeta)) userSecrets := []string{} for _, user := range dc.Spec.Users { userSecrets = append(userSecrets, user.SecretName) @@ -25,7 +25,7 @@ func RefreshSecrets(dc *cassdcapi.CassandraDatacenter, ctx context.Context, clie } else { userSecrets = append(userSecrets, dc.Spec.SuperuserSecretName) } - logger.Info(fmt.Sprintf("refreshing user secrets for %v", userSecrets)) + println(fmt.Sprintf("refreshing user secrets for %v", userSecrets)) // Both Reaper and medusa secrets go into the userSecrets, so they don't need special handling. for _, i := range userSecrets { secret := &corev1.Secret{}