-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Installer does not properly quote strings in YAML files #1012
Comments
Nevermind. I didn't recognize that snippet you posted. |
According to the spec, |
Along those lines though, the installer should know that the value supplied for |
And the installer does know that. The issue is that the YAML library (as @squeed discovered) we are using doesn't follow the spec. The fix belongs upstream. @squeed are you still working on that fix or should we take it over? |
Upstream PR: go-yaml/yaml#428. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: 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. |
Version
Platform (aws|libvirt|openstack):
AWS
What happened?
When rendering the various YAML files, the installer fails to quote the values which are strings. As such this leads to ambiguity in parsing of the files.
As an example, when performing an install with a random hexadecimal cluster name beginning with an integer the installer fails to quote the string. e.g.:
As a result, Kubernetes (for example) will fail to read the file with the following error:
How to reproduce it (as minimally and precisely as possible)?
For bonus points:
1b. Create a cluster with a numeric cluster name.
The text was updated successfully, but these errors were encountered: