Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

account information checks from config-operator.sh #72

Closed
timroster opened this issue Nov 4, 2019 · 3 comments · Fixed by #183
Closed

account information checks from config-operator.sh #72

timroster opened this issue Nov 4, 2019 · 3 comments · Fixed by #183
Labels
enhancement New feature or request

Comments

@timroster
Copy link
Member

Sometimes when using the IBM Cloud CLI, the region is not being set resulting in IC_REGION being empty. This results in rather obscure errors during secret creation like:

error: error validating “STDIN”: error validating data: unknown object type “nil” in Secret.data.region; if you choose to ignore these errors, turn validation off with --validate=false

It would be helpful to do a quick validation of the IC... fields in this script and putting up an error message to help users spot and fix the CLI session configuration issue.

@JohnStarich
Copy link
Member

Hey @timroster, thanks for the issue. Briefly looking at the newest script and implementation, it looks like it could still be a problem.

Since it's been a bit, can you confirm this is still an issue?

@JohnStarich JohnStarich added the enhancement New feature or request label Aug 21, 2020
@timroster
Copy link
Member Author

Just tried here - I'll admit I had to be persuasive on the ibmcloud cli to get the region undefined. But after doing that, I was still able to get the same failure following the README.md steps.

@JohnStarich
Copy link
Member

@timroster thanks for re-checking! I've got a PR up now that addresses this for required fields 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants