visual-recognition-code-pattern
visual-recognition-code-pattern copied to clipboard
Credential error in application from Watson Visual Recognition starter kit
I deployed this starter kit to IKS, and I get this error when trying to infer

DevX team things this the app may not be looking for Kube environment variables correctly.
We look for watson_vision_combined_apikey and watson_vision_combined_url, that's how visual recognition is in cf environment, so we have to stick to this pattern. My guess is that env variables set in Kube env have visual_recognition_* pattern.
PR #12 can be used as a workaround until the env can be set as described by Mamoon.
The workaround was merged with the above PR in the new IBM repo. Need to migrate the starter kit to use the new one and archive this one. Also, it is meant to be a temporary fix. Ideally the env would be provided like Mamoon suggests (and what is shown in the download creds) instead of the current style which was never implemented in this code.