Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(grafanaplane): expose GroupVersionKind tuples #21

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Duologic
Copy link
Member

This PR will expose GroupVersionKind tuples for all CRDs and XRDs covered by this library. The main goal is to configure kube-state-metrics Custom Resource State metrics.

Also in this PR:

  • quick refactor in the generator to make it a bit more digestible.
  • update the xtd dependency as the reference branch no longer exists

This exposes GroupVersionKind tuples for all CRDs and XRDs covered by
this library. The main goal is to configure kube-state-metrics Custom
Resource State metrics.
@Duologic Duologic requested a review from a team as a code owner December 30, 2024 13:35
group: definition.spec.group,
version: v.name,
kind: definition.spec.claimNames.kind,
plural: definition.spec.claimNames.plural,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plural key is intended for consumption by the ksm library, see crdsonnet/kube-state-metrics-libsonnet#2

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.

1 participant