Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

chore: allow getting resources without version and group #134

Conversation

Unix4ever
Copy link
Member

That should help to keep Theila backward and forward compatible with
any CRDs from CAPI or whatever else.

Now if the resource name is represented only with a single word without
any dots in it, the backend will look up version and group by using the
discovery service. Same way as it is done by kubectl.

Signed-off-by: Artem Chernyshev artem.chernyshev@talos-systems.com

That should help to keep Theila backward and forward compatible with
any CRDs from CAPI or whatever else.

Now if the resource name is represented only with a single word without
any dots in it, the backend will look up version and group by using the
discovery service. Same way as it is done by kubectl.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
Copy link
Member

@smira smira left a comment

Choose a reason for hiding this comment

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

👍

@Unix4ever
Copy link
Member Author

/m

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

Successfully merging this pull request may close these issues.

3 participants