openshift-online / ocm-cli

CLI for the Red Hat OpenShift Cluster Manager
Apache License 2.0
76 stars 137 forks source link

fix: tolerate required delay between service account creation and con… #665

Open renan-campos opened 3 weeks ago

renan-campos commented 3 weeks ago

…figuration

It was discovered through testing that service accounts created on GCP need a duration of time between creation and being referenced, otherwise a BadRequest error occurs. A delayed retry logic is introduced to ensure the service account is available before making additional configuration calls.

JakobGray commented 3 weeks ago

Addressed in https://github.com/openshift-online/ocm-cli/pull/666