Multiple occurrence's with key, on replace it replace for both places, intention is to replace either of key. #1386
dnyaneshwarjadhav
started this conversation in
Ideas
Replies: 1 comment
-
Sorry I'm not sure what you are trying to do - can you please provide the output you want? Also - please keep the input and output yaml examples to a minimum - it's hard to understand otherwise 👍🏼 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying with below query
yq e ".spec.template | select(length>0) | .spec.containers[0].image=\"ttttttt\"" deployment.yaml
This is not working out.
Beta Was this translation helpful? Give feedback.
All reactions