Skip to content

feat: support local files for kubeblocks upgrade - #700

Open
jelipo wants to merge 1 commit into
apecloud:mainfrom
jelipo:feature/kubeblocks-upgrade-local-files
Open

feat: support local files for kubeblocks upgrade#700
jelipo wants to merge 1 commit into
apecloud:mainfrom
jelipo:feature/kubeblocks-upgrade-local-files

Conversation

@jelipo

@jelipo jelipo commented Jul 29, 2026

Copy link
Copy Markdown

Summary

  • add --chart-file and --crds-file to kbcli kubeblocks upgrade
  • use local KubeBlocks chart and CRD files when provided, avoiding public repository access while preserving the existing online upgrade behavior
  • reuse the existing Helm upgrade and CRD reconciliation flow

Validation

  • CGO_ENABLED=0 go test ./pkg/cmd/kubeblocks
  • git diff --check
  • upgraded KubeBlocks from 1.0.3-beta.5 to 1.0.3-beta.9 with offline chart and CRD files, and verified the Helm release, controllers, CRDs, add-ons, and existing clusters

Closes #701

@github-actions github-actions Bot added the size/M Denotes a PR that changes 30-99 lines. label Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M Denotes a PR that changes 30-99 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] support offline KubeBlocks upgrades

1 participant