-
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
Kustomize 2.1.0 causes SIGSEV #1203
Comments
Happened to me two days ago. In my case happened, was because of mismatch in the namespace value for object referred by variable: Temporary fix was: https://github.com/jbrette/kustomize/blob/namespace/k8sdeps/transformer/patch/transformer.go#L49 |
Hello there, Is there a chanbce for a new release soon with this fix? Right now, I'm finding it hard to figure out how to amend my overlays as the error is not helping. It's specially quite tricky when you have something like:
Where all the files have the same name and I'm not sure if the
That's quite unclear to me what that refers to in a context where bases structure all have the same naming convention. Thanks! |
Also seeing this bug after upgrading 2.1.0 |
nil references unacceptable |
I rollback to 2.0.3 and it works fine. |
@rdubya16 Yes looks like the same issue (which has been fixed). This error check was missing: https://github.com/kubernetes-sigs/kustomize/blob/master/k8sdeps/transformer/patch/transformer.go#L48 and the code was crashing at line 51 which is now line 54 Have a close look at your namespace usage. The issue as often been linked to inconsistencies in the namespace value (either in the resources.yaml/patches.yaml or kustomization.yaml) between the resource definition and the patch definition. |
@rdubya16 if willing, please see if the latest release candidate handles your data better. it shouldn't seg sev, but there might be some unhelpful error message to improve on. |
Please reopen if still segsev, or the error message needs improvement. |
https://github.com/kubernetes-sigs/kustomize/releases/tag/v2.1.0
Rebuilt my CI container to use the '2.1.0' Kustomize. Upon running my kustomize step I got this stack trace.
Appears to be a regression from 2.0.3 (This version works )
The text was updated successfully, but these errors were encountered: