3 ms·
Is that yaml not an array of strings? ["x","y","z"]
by jtchang 4y ago
Is that yaml not an array of strings?
["x","y","z"]
- Filligree 4y agoI don't happen to have a YAML parser at hand, but I believe it's... ["x", True, "z"]
- heretogetout 4y agoIt's not, y is treated as boolean true.
- karmajunkie 4y agoIs that a k8s thing? Because when I load it in this page[1] it comes out as a string... [1] https://yaml-online-parser.appspot.com/?yaml=foo%3A+%0A-+x%0A-+y%0A-+z&type=json https://yaml-online-parser.appspot.com/?yaml=foo%3A+%0A-+x%0...
- Thiez 4y agoIn YAML 1.2 they fixed it (and also the Norway-problem of "no" meaning false) but many places are still using an older version.
- deleted 4y ago[deleted]