From f15533da27c688fb974cecd506d96494cdcc125b Mon Sep 17 00:00:00 2001 From: Isa Aguilar Date: Thu, 26 Oct 2023 00:01:07 -0400 Subject: [PATCH] reset phase --- pkg/controllers/terraform_controller.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/controllers/terraform_controller.go b/pkg/controllers/terraform_controller.go index 0dde7af..4a09499 100644 --- a/pkg/controllers/terraform_controller.go +++ b/pkg/controllers/terraform_controller.go @@ -693,6 +693,7 @@ func (r *ReconcileTerraform) Reconcile(ctx context.Context, request reconcile.Re now := metav1.Now() tf.Status.RetryEventReason = &label // saved via updateStatusWithRetry tf.Status.RetryTimestamp = &now // saved via updateStatusWithRetry + tf.Status.Phase = tfv1beta1.PhaseInitializing } } }