-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Running kustomize build panics #4240
Comments
To clarify, is the resource stream you've provided the input to kustomize or the output? If it is the output, could you please provide the input? If it is the input, I'm curious how does kubectl apply handle an empty namespace? Is it treated the same as default namespace? |
It's the input, but I was paring down from several thousand lines of code and omitted the very basic kustomization.yaml associated with it. I haven't checked what Kubernetes does with it. There's some templating that normally puts a string there, and just didn't in this particular case. So I haven't used it this way extensively. Just ended up hard to debug. |
I was able to reproduce this. The input isn't valid, so we don't need to do anything fancy to accommodate it, but we definitely should not panic in this situation. /triage accepted |
/assign @m-Bilal |
@KnVerey: GitHub didn't allow me to assign the following users: m-Bilal. Note that only kubernetes-sigs members, repo collaborators and people who have commented on this issue/PR can be assigned. Additionally, issues/PRs can only have 10 assignees at the same time. 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. |
/assign |
Describe the bug
Panic when building a project with an entry
namespace:
.kubectl apply
doesn't complain about this, and it's hard to debug what causes it.Resources
Kustomize version
on macOS.
The text was updated successfully, but these errors were encountered: