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

[BUG] helm upgrade failed Too long: must have at most 1048576 bytes #5920

Closed
ldming opened this issue Nov 24, 2023 · 1 comment
Closed

[BUG] helm upgrade failed Too long: must have at most 1048576 bytes #5920

ldming opened this issue Nov 24, 2023 · 1 comment

Comments

@ldming
Copy link
Collaborator

ldming commented Nov 24, 2023

$ helm upgrade kubeblocks ./deploy/helm -n kb-system --install --version kubeblocks-0.8.0-alpha.7
Error: UPGRADE FAILED: create: failed to create: Secret "sh.helm.release.v1.kubeblocks.v3" is invalid: data: Too long: must have at most 1048576 bytes

$ du -h -d2
2.8M    ./crds
 16K    ./config/rbac
 16K    ./config
  0B    ./ci
112K    ./charts
1.2M    ./dashboards
132K    ./templates/rbac
112K    ./templates/addons
8.0K    ./templates/admission
 28K    ./templates/storageprovider
4.0K    ./templates/tests
8.0K    ./templates/grafana
132K    ./templates/applications
4.0K    ./templates/class
 12K    ./templates/prometheus
512K    ./templates
 16K    ./depend-charts
4.7M    .

Better to split dashboards to specified database helm charts.

@ldming ldming self-assigned this Nov 24, 2023
@ldming ldming added this to the Release 0.8.0 milestone Nov 24, 2023
@ldming ldming changed the title [Features] helm upgrade failed Too long: must have at most 1048576 bytes [Bugfix] helm upgrade failed Too long: must have at most 1048576 bytes Nov 24, 2023
@ldming ldming changed the title [Bugfix] helm upgrade failed Too long: must have at most 1048576 bytes [Bug] helm upgrade failed Too long: must have at most 1048576 bytes Nov 24, 2023
@ldming ldming removed kind/feature New feature feature labels Nov 24, 2023
@ldming ldming changed the title [Bug] helm upgrade failed Too long: must have at most 1048576 bytes [BUG] helm upgrade failed Too long: must have at most 1048576 bytes Nov 24, 2023
@ldming
Copy link
Collaborator Author

ldming commented Dec 16, 2023

3233251 have remove the CRDs from helm chart, user should apply the crds first, then install the chart. If use kbcli, kbcli will apply the crds automatically.

@ldming ldming closed this as completed Dec 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants
@ldming @apecloud-bot and others