-
Notifications
You must be signed in to change notification settings - Fork 702
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
Creating flux package fails with: invalid character '#' looking for beginning of value #4212
Comments
FWIW, I also tried deleting and redeploying kubeapps, in case it was related to any cached data, but still see the error. |
reproduced locally, investigating... |
unrelated question: why does the UX send values as part of |
oh, duh, it's trivial, the UX is sending values like this: "values":"# Default values for podinfo.\n\nreplicaCount: 1\n..." Come to think of it, what UX is sending isn't JSON at all. It is straight up YAML. I guess I was a little bit confused about the semantics of the Now, clearly UX is assuming YAML will work as well, so sounds like we need to support both formats. Also, follow-up: when UI does |
…ng for beginning of value vmware-tanzu#4212
Description:
When trying to create an installed package, I see:
I've tried both apache and ghost and get the same result.
Briefly looked for the cause, checking for a likely recent change and found a change to the yaml parsing library across the codebase landed earlier this week(https://github.com/kubeapps/kubeapps/pull/4179/files). But I tried reverting that and the resulting image still had the same issue.
I haven't bisected further to find the change causing the issue, but have a local kubeapps-apis image from earlier this week, or late last week, which creates the package without issue in the same scenario (ie. from Kubeapps dashboard UI). Not sure where else the issue could be, but happy to dig further and fix if you're too busy @gfichtenholt.
Steps to reproduce the issue:
Describe the results you received:
Error shown:
Describe the results you expected:
Apache package installed successfully.
Additional information you deem important (e.g. issue happens only occasionally):
Noticed this earlier this week on main, but still had a branch I was working on which didn't have the issue (ie. seems to have been introduced late last week or earlier this week.
The text was updated successfully, but these errors were encountered: