cdap-operator icon indicating copy to clipboard operation
cdap-operator copied to clipboard

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

Open ghost opened this issue 3 years ago • 0 comments

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 avatar Feb 14 '22 18:02 ghost