diff --git a/src/internal/controller/zitadelcluster_controller.go b/src/internal/controller/zitadelcluster_controller.go index 2e4f414..d09b15c 100644 --- a/src/internal/controller/zitadelcluster_controller.go +++ b/src/internal/controller/zitadelcluster_controller.go @@ -584,7 +584,9 @@ func (r *ZitadelClusterReconciler) reconcileSMTPConfig(ctx context.Context, zita if _, err := adminClient.ActivateSMTPConfig(ctx, &adm.ActivateSMTPConfigRequest{ Id: smtpId, }); err != nil { - return ctrl.Result{}, fmt.Errorf("Error activating SMTP config: %v", err) + if !strings.Contains(err.Error(), "AlreadyActive") { + return ctrl.Result{}, fmt.Errorf("Error activating SMTP config: %v", err) + } } patch := client.MergeFrom(zitadel.DeepCopy()) zitadel.Status.SMTPProviderId = smtpId