-
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
Panic: runtime error: invalid memory address or nil pointer dereference #5471
Comments
This issue is currently awaiting triage. SIG CLI takes a lead on issue triage for this repo, but any Kubernetes member can accept issues by applying the The 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. |
I have the same issue with multiple |
I ran into this problem too when I had multiple For example:
Breaking them out into their own patch .yaml file works tho and so does adding individual patches to the kustomization.yaml. For example:
Like yogeek said I think this is intentional based on #5049 (comment) |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". 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-sigs/prow repository. |
Still getting this panic with more than one |
What happened?
Using:
Running
kustomize build --load-restrictor LoadRestrictionsNone --enable-alpha-plugins --enable-exec .
Causes error:
(Naming changed in some of the following)
Kustomization.yaml file:
delete-some-worker.yaml file
The base
some-worker.yaml
definition is fine and works in any other context so that is not the issue.What did you expect to happen?
Extpecting a successfull manifest output.
How can we reproduce it (as minimally and precisely as possible)?
Use the same format of deletions as with the delete-some-worker.yaml file.
TESTED THIS:
delete-some-worker.yaml
file it works.My current guess is that several
$patch: delete
definitions with no more than metadata name as difference is not an intentional panic, instead an uncovered usecase?Expected output
No response
Actual output
No response
Kustomize version
v5.2.1
Operating system
MacOS
The text was updated successfully, but these errors were encountered: