Replies: 1 comment
-
Hi @drenze-athene, In KubeMod performing the same That said, in a future version of KubeMod, I should be able to extend KubeMod's JSONPath with a custom Here's what I'm thinking: patch:
- op: remove
select: '$.metadata.annotations[? key(@) =~ "com\.example\..*"]'
path: '/metadata/annotations/#0' Thoughts? |
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
-
Am I able to use a wildcard when removing a path from a pod? E.g., if I need to remove all annotations starting with
com.example.*
, will the following work?Beta Was this translation helpful? Give feedback.
All reactions