-
Hi,
In yq v3, the following: successfully returned: Now, my best guess at the equivalent v4 command: Errors: BTW, this command works fine when specifying an item: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
yq e '.items[].metadata.annotations | select(has("a.b.c/d")) | .["a.b.c/d"]' test.yaml |
Beta Was this translation helpful? Give feedback.
yq e '.items[].metadata.annotations | select(has("a.b.c/d")) | .["a.b.c/d"]' test.yaml