-
Notifications
You must be signed in to change notification settings - Fork 263
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: Fix error when no current namespace is set #305
fix: Fix error when no current namespace is set #305
Conversation
When no current namespace is set in the config file, then using `kn` without -n fails: ``` invalid configuration: no configuration has been provided ``` Instead of failing in this case, assume the default namespace "namespace"
The following is the coverage report on pkg/.
|
/retest |
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: maximilien, rhuss 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 |
When no current namespace is set in the config file, then using `kn` without -n fails: ``` invalid configuration: no configuration has been provided ``` Instead of failing in this case, assume the default namespace "namespace"
* Instead of deleting the images in GCR after the test finishes, have a job to perform it from time to time (and only old images). Add cleanup.sh script under tools Add unit testing under test/unit Add Prow job calling this cleanup script periodically Remove delete_gcr_images function from common library.sh Refactor some common functions to library After this PR, scripts/functions for images deletions will only live under knative/test-infra repo, and no jobs other than cleanup-old-images job should delete any images. * update cleanup script path in prow config.yaml file * simplify code, improve readability, better documentation based on Adriano's CR feedback on github * fixing typo
When no current namespace is set in the config file, then using
kn
without -n fails:Instead of failing in this case, assume the default namespace "namespace"