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

[CDAP 18854] Applying CRD fails with error: metadata.annotations: Too long: must have at most 262144 bytes #84

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Feb 14, 2022

Add --server-side flag to kubectl apply call made by make install.
Why: This prevents last update annotation from being added and fixes the issue.
Tried to replace kubectl apply with kubectl delete + create, however when we delete CRD, even CR is deleted due to owner reference. This in turn deletes all the statefulsets, deployments and configmaps.
Ref: Server side apply

@ghost ghost requested review from dli357 and wyzhang February 14, 2022 18:03
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.

2 participants