Skip to content

Commit

Permalink
Merge pull request #5089 from AndiDog/s3-bucket-ready-after-unready
Browse files Browse the repository at this point in the history
🐛 Mark `S3BucketCreated` condition ready after successful reconciliation
  • Loading branch information
k8s-ci-robot authored Sep 6, 2024
2 parents 2cbd9ad + d210705 commit f6a4141
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/awscluster_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ func (r *AWSClusterReconciler) reconcileNormal(clusterScope *scope.ClusterScope)
conditions.MarkFalse(awsCluster, infrav1.S3BucketReadyCondition, infrav1.S3BucketFailedReason, clusterv1.ConditionSeverityError, err.Error())
return reconcile.Result{}, errors.Wrapf(err, "failed to reconcile S3 Bucket for AWSCluster %s/%s", awsCluster.Namespace, awsCluster.Name)
}
conditions.MarkTrue(awsCluster, infrav1.S3BucketReadyCondition)

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

0 comments on commit f6a4141

Please sign in to comment.