Panic: runtime error: invalid memory address or nil pointer dereference #5471
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires 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: