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

CRD ComponentDefinition can't install #6068

Closed
xishengcai opened this issue Dec 12, 2023 · 1 comment
Closed

CRD ComponentDefinition can't install #6068

xishengcai opened this issue Dec 12, 2023 · 1 comment
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@xishengcai
Copy link

Describe the bug
CRD ComponentDefinition can't install
error: The CustomResourceDefinition "componentdefinitions.apps.kubeblocks.io" is invalid: metadata.annotations: Too long: must have at most 262144 bytes

To Reproduce
Steps to reproduce the behavior:

1. git clone https://github.com/apecloud/kubeblocks.git 
2. cd  ...
3. kubectl apply -f deploy/helm/crds/apps.kubeblocks.io_componentdefinitions.yaml 

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • kubernetes 1.23.15
  • branch: main

Additional context
Add any other context about the problem here.

@xishengcai xishengcai added the kind/bug Something isn't working label Dec 12, 2023
@free6om
Copy link
Contributor

free6om commented Dec 12, 2023

known issue of kubectl: kubernetes-sigs/kubebuilder#1140

quick fix: use create or replace instead of apply.

@free6om free6om closed this as completed Dec 12, 2023
@github-actions github-actions bot added this to the Release 0.8.0 milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants