cdap-operator
cdap-operator copied to clipboard
[CDAP 18854] Applying CRD fails with error: metadata.annotations: Too long: must have at most 262144 bytes
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