[Addon] migrate cloudshell to native helmchart

Merged
PR
3d ago
+11-9

Description of your changes

Migrates the cloudshell addon from the FluxCD-backed helm component to the native KubeVela helmchart component as a scoped worked example for:

Refs #787

This keeps the existing chart, chart version, release name, release namespace, and values:

  • chart source: cloudtty
  • chart repo: https://cloudtty.github.io/cloudtty
  • chart version: 0.3.0
  • release name: cloudshell-operator
  • release namespace: vela-system

It also bumps the addon metadata version from 0.0.10 to 0.0.11 and removes the now-unused fluxcd dependency.

Special review notes:

  • This PR intentionally changes only one addon so maintainers can validate the migration shape before broader addon changes.
  • The native helmchart schema was checked against current KubeVela core sources/docs for chart.source, repoURL, version, release, and top-level values.
  • cloudtty 0.3.0 does not ship a Helm crds/ directory; its CRD is rendered through a normal chart template gated by the existing installCRDs: true default value, so I did not add options.includeCRDs.
  • Existing live installs may still need maintainer review for Flux-to-native takeover/upgrade behavior, because native helmchart does not exactly replicate Flux upgradeCRD semantics.

How has this code been tested?

Ran locally:

  • make check-addon-semver
  • git diff --check
  • rg -n "fluxcd|GitRepository|Kustomization|Bucket|OCIRepository|HelmRepository|type:\s*helm$" addons/cloudshell

The final grep returned no residual FluxCD or exact old type: helm references under addons/cloudshell.

Not run locally:

  • vela render/install validation
  • helm validation
  • cue validation
  • cluster/e2e addon install validation

Those tools were not available in my local runner environment.

Checklist

I have:

  • Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
  • Updated/Added any relevant documentation and examples. Not applicable; this updates an existing addon implementation only.
  • New addon should be put in experimental. Not applicable; this updates an existing addon.
  • Update addon should modify the version in metadata.yaml to generate a new version.

Verified Addon promotion rules

This PR does not promote an experimental addon to verified.


Summary by cubic

Migrates the cloudshell addon from Flux-backed helm to native KubeVela helmchart for simpler management and no fluxcd dependency. Fixes #787.

Refactors

  • Switch component to helmchart (chart cloudtty, repo https://cloudtty.github.io/cloudtty, version 0.5.0).
  • Set release.name cloudshell-operator and release.namespace vela-system; keep existing values.
  • Remove fluxcd from dependencies; require vela >= v1.11.0 and bump addon version to 0.0.12.
  • Note: CRDs are rendered by the chart (installCRDs: true); no options.includeCRDs added.