-
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 hangs on replacements with regex key-value pair and create: true #5816
Comments
I tested this on a Mac OS v15.1.1, installed Kustomize v5.5.5 using What Linux Distro and version were you using? |
@aaroniscode are you sure you switched to the
Edit: I originally found this bug on Ubuntu 18.04 |
I am able to reproduce the issue using the
to
Kustomize appears to run in an infinite loop consuming a lot of CPU and memory usage goes up and down but trends higher and left running for hours will consume over 1GB of memory. The documentation for Field Path format states:
So this appears to be a valid use case. /triage accepted |
@koba1t @natasha41575 looks like it is easy to reproduce with a tiny change in an existing test case as well (goes into infinite loop)
Essentially Like so: Can you please take a look? |
What happened?
kustomize build
orkubectl kustomize
both hang indefinitelyWhat did you expect to happen?
Resources are output with correct replacements
How can we reproduce it (as minimally and precisely as possible)?
I've recreated this with a minimal repo here: https://github.com/sfbahr/kustomize-replacement-bug/tree/broken
The key pieces of config are:
Expected output
Actual output
None
Kustomize version
v5.5.0
Operating system
Linux
The text was updated successfully, but these errors were encountered: