-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix TestYamls for change in ko create
#5396
Conversation
/assign @imjasonh @afrittoli @vdemeester @lbernick @jerop |
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.
Why not using « ko create ... -- --namespace=foo » instead ? I think it is the supported way isn’t it ?
Huh, didn't think of that. Well, let's see if this works anyway? =) |
Well, that worked, but lemme try the |
29bafa6
to
62a383e
Compare
With ko-build/ko#750, which we picked up when we bumped `ko` to `v0.12.0` in the test-runner image, `-n (namespace)` is no longer an argument for `ko create`. So we need to ensure that the namespace for the `TestYamls` CRDs is actually set properly, and get rid of the `-n (namespace)` from our invocation of `ko create`. Signed-off-by: Andrew Bayer <andrew.bayer@gmail.com>
62a383e
to
df12ce0
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.
Thanks!
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: afrittoli, vdemeester 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 |
/lgtm |
/cherrypick release-v0.36.x |
@afrittoli: new pull request created: #5441 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. |
Changes
With ko-build/ko#750, which we picked up when we bumped
ko
tov0.12.0
in the test-runner image,-n (namespace)
is no longer an argument forko create
. So we need to ensure that the namespace for theTestYamls
CRDs is actually set properly, and get rid of the-n (namespace)
from our invocation ofko create
./kind misc
Submitter Checklist
As the author of this PR, please check off the items in this checklist:
functionality, content, code)
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes