-
Notifications
You must be signed in to change notification settings - Fork 39k
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
use k8s.gcr.io/pause instead of kubernetes/pause #69631
Conversation
While you're here, I think you missed an occurrence
|
@spiffxp thanks pointing out. Not quite sure if |
15645b0
to
249e224
Compare
Wow, the Can you also update these to use the newest tag, |
@ixdy sure, updated to use |
249e224
to
f1f4b53
Compare
@@ -51,8 +51,8 @@ func TestMatchImageTagOrSHA(t *testing.T) { | |||
Output: true, | |||
}, | |||
{ | |||
Inspected: dockertypes.ImageInspect{RepoTags: []string{"docker.io/kubernetes/pause:latest"}}, | |||
Image: "kubernetes/pause:latest", | |||
Inspected: dockertypes.ImageInspect{RepoTags: []string{"k8s.gcr.io/pause:3.1"}}, |
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.
hm, actually, maybe we should have left this one? I'm not sure what exactly this test is doing, but the docker.io bit may have been relevant 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.
I was also a little hesitant on this.
Kindly ping @yujuhong: do you see any side effect of this?
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.
Please don't change this. The test verifies that the two match even with the docker.io
difference.
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.
@yujuhong thanks for clarifying! I will keep it as is.
f1f4b53
to
328f631
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Huang-Wei, ixdy 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 |
…31-upstream-release-1.12 Automated cherry pick of #69631: use k8s.gcr.io/pause instead of kubernetes/pause
What this PR does / why we need it:
According to testing-conventions, we should use grc.io instead of docker hub.
This PR changes occurrences of
kubernetes/pause
tok8s.gcr.io/pause
.Special notes for your reviewer:
Release note:
/kind cleanup
/sig testing