Fail fast when image is specified without tag#101287
Fail fast when image is specified without tag#101287k8s-ci-robot merged 2 commits intokubernetes:masterfrom
Conversation
|
/sig testing |
|
/priority backlog |
test/utils/image/manifest.go
Outdated
There was a problem hiding this comment.
Can we not just fix this and make the error be fail fast? It seems wierd that we'd allow pull specs without tags anywhere.
33b7a64 to
431e8df
Compare
There was a problem hiding this comment.
Yay, we caught a bug!
There was a problem hiding this comment.
now do we need a test for a test util LOL (kidding)
There was a problem hiding this comment.
lol, I was considering that 😜
431e8df to
3edabfb
Compare
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: smarterclayton, soltysh The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
What this PR does / why we need it:
Currently when replacing images we assume an image is in the formimage:tagbut there are cases where this is not true. This PR defaults tag to:latestwhen not specified.This PR changes image replace code such that it requires
image:tagformat.Special notes for your reviewer:
/assign @smarterclayton
Does this PR introduce a user-facing change?