Skip to content

Commit 504148a

Browse files
authored
Merge pull request #1190 from gab-satchi/identity-condition
sets ready condition for VSphereClusterIdentity
2 parents 2bef13b + 7148102 commit 504148a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/vsphereclusteridentity_controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ func (r clusterIdentityReconciler) Reconcile(req ctrl.Request) (_ reconcile.Resu
149149
}
150150
}
151151

152+
conditions.MarkTrue(identity, infrav1.CredentialsAvailableCondidtion)
152153
identity.Status.Ready = true
153154
return reconcile.Result{}, nil
154155
}

0 commit comments

Comments
 (0)