You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
through yq. you'll get: Error: foo: duplicate entry with key "bar" at line 2 column 3, which tbh is correct, and it's (i think) what serde_yaml enforces.
unfortunately... tools like helm allow you doing this, and there are some charts that rely on the second set of key overriding the first (taking precedence)... so leaving this issue here as a link from caveats.
EDIT: not even sure if the above helm use case works anymore; ci systems such as flux's kustomize-controller just flat out reject duplicate keys now
don't really want to support this because it is bad, and i don't even think this is practically possible with serde_yaml. probably wontfix.
The text was updated successfully, but these errors were encountered:
it is not possible to pass stuff like:
through yq. you'll get:
Error: foo: duplicate entry with key "bar" at line 2 column 3
, which tbh is correct, and it's (i think) what serde_yaml enforces.unfortunately... tools like
helm
allow you doing this, and there are some charts that rely on the second set of key overriding the first (taking precedence)... so leaving this issue here as a link from caveats.EDIT: not even sure if the above helm use case works anymore; ci systems such as flux's kustomize-controller just flat out reject duplicate keys now
don't really want to support this because it is bad, and i don't even think this is practically possible with serde_yaml. probably wontfix.
The text was updated successfully, but these errors were encountered: