Skip to content

Conversation

alexander-bauer
Copy link

I was working on my home cluster last week, and ran into a case where I needed to traverse a rendered Helm chart in order to generate ServiceMonitor resources for each Service. The existing patchKubernetesObjects function couldn't quite cover this case, so I wrote a similar function, and figured it would do best in this library.

I also extracted the isKubernetesObject logic common to both functions, in the hopes that it'll also be independently useful.

@alexander-bauer alexander-bauer requested a review from Duologic May 14, 2025 19:13
@Duologic
Copy link
Contributor

There's also this utility which has a function for finding kubernetes objects: https://github.com/jsonnet-libs/xtd/blob/master/docs%2Finspect.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants