-
Hello 👋🏼 , I'm trying to process a k8s The part I'm interesting looks like this: resources:
- resource1
images:
- name: a
newName: repo
newTag: tag1
- name: b
newName: repo
newTag: tag2 What I would like to do is remove entry in resources:
- resource1
images:
- name: a
newName: repo
newTag: tag1 I thought I figure out how to only match one entry and then expand the expression to call Some things I tried:
I'm somewhat lost here, I tried to make sense of https://mikefarah.gitbook.io/yq/operators/select and scouted the docs already, but it just won't click for me. Thank you 🙏🏼 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ok, scientific breakthrough here 😬
next try:
Did I just figure it out ? 👀 |
Beta Was this translation helpful? Give feedback.
Ok, scientific breakthrough here 😬
next try:
Did I just figure it out ? 👀