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
bug 1879497: oc debug: add --image-stream flag #588
bug 1879497: oc debug: add --image-stream flag #588
Conversation
@ingvagabund: This pull request references Bugzilla bug 1879497, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@ingvagabund: This pull request references Bugzilla bug 1879497, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
1 similar comment
@ingvagabund: This pull request references Bugzilla bug 1879497, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@@ -1087,3 +1095,38 @@ func setNodeName(template *corev1.PodTemplateSpec, nodeName string, overrideWhen | |||
} | |||
return template | |||
} | |||
|
|||
func (o *DebugOptions) resolveImageStreamTagString(s string) (string, error) { | |||
namespace, name, tag := parseImageStreamTagString(s) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use imageutil.ParseImageStreamTagName
from library-go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
imageutil.ParseImageStreamTagName
does not take namespace into account, not usable here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point.
To allow to look for images in an image stream as well
aea4b25
to
17df7cb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ingvagabund, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/bugzilla refresh |
@ingvagabund: This pull request references Bugzilla bug 1879497, which is valid. 3 validation(s) were run on this bug
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest Please review the full test history for this PR and help us cut down flakes. |
@ingvagabund: All pull requests linked via external trackers have merged: Bugzilla bug 1879497 has been moved to the MODIFIED state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
To allow to look for images in an image stream as well
With an invalid image stream:
With a valid image stream:
Without the image stream: