I actually first tried to provide a solution that works with jsonpath alone. Unfortunately, the union operator never does what I'd ideally like it to do.
Whoever reads this and knows a kubectl-only approach, please raise your voice. :-) -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to email@example.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.