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

make CLI errror indicate the limitation of non-GA API suppoer #4641

Open
errordeveloper opened this issue Feb 29, 2024 · 0 comments
Open

make CLI errror indicate the limitation of non-GA API suppoer #4641

errordeveloper opened this issue Feb 29, 2024 · 0 comments

Comments

@errordeveloper
Copy link
Contributor

errordeveloper commented Feb 29, 2024

Per @stefanprodan's comment in in #4490 (comment):

Yes, the CLI ensures backwards compatibility only for GA APIs, for beta versions you need a CLI that matches the cluster version.

The error message is currently this, which is a bit confusing:

✗ failed to get API group resources: unable to retrieve the complete list of server APIs: helm.toolkit.fluxcd.io/v2beta2: the server could not find the requested resource

It'd be good if the error message was more explicit about the limitations of non-GA APIs in the CLI.

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