Skip to content

Commit f6a4141

Browse files
authored
Merge pull request #5089 from AndiDog/s3-bucket-ready-after-unready
🐛 Mark `S3BucketCreated` condition ready after successful reconciliation
2 parents 2cbd9ad + d210705 commit f6a4141

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/awscluster_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@ func (r *AWSClusterReconciler) reconcileNormal(clusterScope *scope.ClusterScope)
358358
conditions.MarkFalse(awsCluster, infrav1.S3BucketReadyCondition, infrav1.S3BucketFailedReason, clusterv1.ConditionSeverityError, err.Error())
359359
return reconcile.Result{}, errors.Wrapf(err, "failed to reconcile S3 Bucket for AWSCluster %s/%s", awsCluster.Namespace, awsCluster.Name)
360360
}
361+
conditions.MarkTrue(awsCluster, infrav1.S3BucketReadyCondition)
361362

362363
for _, subnet := range clusterScope.Subnets().FilterPrivate() {
363364
found := false

0 commit comments

Comments
 (0)