-
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 build
cause the panic with non-ASCII characters
#3605
Comments
I have different observation regarding placement of the comment. This doesn't cause problem in 4.0.1 apiVersion: v1
kind: Namespace
metadata:
name: quote-dev #한글한글 Those below cause problem. apiVersion: v1
kind: Namespace
metadata:
#한글한글
name: quote-dev or #한글한글
apiVersion: v1
kind: Namespace
metadata:
name: quote-dev
|
We need to update go-yaml version but it introduces some other changes so we haven't decided. @monopole Another reason to update go-yaml version. |
@Shell32-Natsu @monopole this is the only issue preventing us from upgrading to kustomize v4.0.5 right now.
@Shell32-Natsu from your comment here:
I understand that you may have already tried upgrading the library. Do you have any desired version? |
@yanniszark One concern in my mind is go-yaml changed the indention behavior in newer version and that will break a lot of tests. @monopole Do you have any other objections? IMO we need to update the go-yaml version since the current one has a bunch of bugs. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
With the latest version of kustomize (4.2.0), my PoC for this issue has seemed to be resolved. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs 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 and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. 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. |
Describe the bug
When I execute
kustomize build
with patches including comments with non-ASCII characters, it cause the panic like below:Files that can reproduce the issue
I've created the repository which can reproduce this issue: https://github.com/110y/kustomize-issue-3605
Expected output
Actual output
Kustomize version
Platform
I've just checked this behavior with the following platforms:
Additional context
The same issue was already filed as #3417.
Although #3417 said:
I think this problem is still reproducible as my investigation.
The text was updated successfully, but these errors were encountered: