kubekanvas fetch-helm-chart
Download an auto-generated Helm chart for a KubeKanvas project. This is useful when you want to inspect the generated chart, feed it into a CI/CD pipeline, or deploy manually using Helm CLI.
Usage
kubekanvas fetch-helm-chart <projectId>Arguments
| Argument | Description | Required |
|---|---|---|
projectId | The numeric ID of the KubeKanvas project to fetch the Helm chart for | Yes |
How It Works
- Authenticates with the KubeKanvas server
- Calls the Helm chart generation endpoint for the specified project
- The server converts the visual project design into Kubernetes YAML templates, generates
Chart.yamlandvalues.yaml, and packages everything as a ZIP - The ZIP file is downloaded and saved to the current directory
Example
kubekanvas fetch-helm-chart 42$ kubekanvas fetch-helm-chart 42
š¦ Helm chart saved as: helm-chart-42-1704067200000.zipOutput File
The chart is saved as helm-chart-{projectId}-{timestamp}.zip in the current working directory. The ZIP contains a standard Helm chart structure:
helm-chart-42-1704067200000.zip
āāā Chart.yaml
āāā values.yaml
āāā templates/
āāā deployment.yaml
āāā service.yaml
āāā ingress.yaml
āāā configmap.yaml
āāā ...You can install this chart manually with Helm:
helm install my-release helm-chart-42-1704067200000.zip --namespace my-namespace --create-namespaceTip: You can find the project ID in the KubeKanvas IDE URL when viewing a project, or via the project settings panel.