-
Notifications
You must be signed in to change notification settings - Fork 60
validated bad container image URL #4283
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
Changes from 1 commit
532b069
e1be296
aee0e9d
405d3da
e2c3bdb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -675,6 +675,13 @@ export class Oc { | |
| .catch((error) => namespaces); | ||
| } | ||
|
|
||
| public async hasImageInfo(url: string): Promise<boolean> { | ||
| const result = await CliChannel.getInstance().executeTool( | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Try this with
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What version of the mongo DB image do you have? I have
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'll double check on windows
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can I check it with OS Tools somehow? Docker says the However, the Pod's config says: which actually doesn't look like the same image... Does it?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was able to reproduce the same error on Windows. I guess you can check the status of running the command that's listed here. I don't really know what's going on
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The command result is an error for me, since it detects windows and linux versions of the docker image
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I didn't get this... So, you have the same error result while deploying the same image on Windows and *nix? ... And yes, I think if you hit the docker pull rate limit, you'll probably won't be able to deploy any image till the counter is dropped. Not 100% sure though.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seems to be working now for me. Does it work for you, Victor? |
||
| new CommandText('oc', `image info ${url}`), undefined, false | ||
| ); | ||
| return result.error && result.stderr.length > 0 ? false : true; | ||
| } | ||
|
|
||
| /** | ||
| * Returns the oc command to list all resources of the given type in the given (or current) namespace | ||
| * | ||
|
|
||

Uh oh!
There was an error while loading. Please reload this page.