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

Fetched resources do not contain GroupVersionKind information #137

Open
jmendesky opened this issue Jun 28, 2022 · 0 comments
Open

Fetched resources do not contain GroupVersionKind information #137

jmendesky opened this issue Jun 28, 2022 · 0 comments

Comments

@jmendesky
Copy link
Collaborator

jmendesky commented Jun 28, 2022

The Kubebuilder and Kubernetes APIs do not currently populate GroupVersionKind correctly. More background can be found in the following issues:

kubernetes-sigs/controller-runtime#1735
kubernetes-sigs/controller-runtime#1517
kubernetes/kubernetes#3030
kubernetes/kubernetes#80609

We use this information internally and therefore need those fields to be set.

We have the following options to address this issue:

  • use a variable and use that in the workflow factory (solution isolated to workflow factory)
  • extend the API client to patch the resource with the correct groupversionkind
  • as above but also fetch the groupversionkind via the api: adds an additional api call but would be most consistent
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

No branches or pull requests

1 participant