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

Better UI presentation of "metadata.annotations: Too long" #14516

Closed
crenshaw-dev opened this issue Jul 14, 2023 · 0 comments · Fixed by #17452
Closed

Better UI presentation of "metadata.annotations: Too long" #14516

crenshaw-dev opened this issue Jul 14, 2023 · 0 comments · Fixed by #17452
Labels
enhancement New feature or request

Comments

@crenshaw-dev
Copy link
Member

Summary

When a resource gets too big with client-side apply, users get an obscure error message: "metadata.annotations: Too long".

We know basically how the user should fix this: either replace the resource (if that's deemed safe) or use ServerSideApply.

Motivation

Users get confused and end up having to read through GitHub issues to know how to resolve the failure.

Proposal

The UI should detect when "metadata.annotations: Too long" is present in a Sync error message and present something like this:

This error usually means that you are applying a very large resource with client-side apply. Consider switching to Server-Side Apply or syncing with Replace enabled. Note that syncing with Replace enabled is potentially destructive, because it may cause resource deletion and re-creation.

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

Successfully merging a pull request may close this issue.

1 participant