WaitForBuilder was too fast, not too slow
We are getting a NotFound error the first time we try to find the
service account, not timing out.
@@ -721,7 +721,7 @@ func WaitForBuilderAccount(c kcoreclient.ServiceAccountInterface) error {
if err != nil {
// If we can't access the service accounts, let's wait till the controller
// create it.
- if errors.IsForbidden(err) {
+ if errors.IsNotFound(err) || errors.IsForbidden(err) {
return false, nil
}
return false, err
