docs/static/v0.7/extensions/kubectl-kanvas-snapshot/index.html
The Kanvas Snapshot Helm Plugin allows users to generate a visual snapshot of their Helm charts directly from the command line. It simplifies the process of creating Meshery Snapshots, providing a visual representation of packaged Helm charts. This plugin integrates with Meshery Cloud and GitHub Actions to automate the workflow of snapshot creation, which is especially useful for Helm users who need to quickly visualize their chart configurations.
Helm charts can be complex, especially when custom configurations are applied via values.yaml files. This Meshery extension bridges the gap between Helm chart configurations and their visual representation by converting Helm charts into Kanvas Snapshots. These snapshots can be received either via email or as a URL displayed directly in the terminal.
.tar.gz charts and unpackaged Helm charts.To install the Meshery Snapshot Helm Plugin, use the following steps:
helm must be installed on your system.Plugin Installation
Run the following command to install the Helm Kanvas Snapshot plugin:
Verify the installation by running:
Set up the required environment variables (see the Environment Variables section).
Once the plugin is installed, you can generate a snapshot using either a packaged or unpackaged Helm chart.
helm snapshot -f <chart-URI> [-n <snapshot-name>] [-e <email>]
-f , --file : (required) path or URL to the Helm chart (required).-n , --name : (optional) name for the snapshot. If not provided, a name will be auto-generated based on the chart name.-e, **--email : (optional) email address to notify when snapshot is ready. If not provided, a link to the snapshot will be displayed in the terminal.Example
To generate a snapshot for a Helm chart located at https://meshery.io/charts/v0.8.0-meshery.tar.gz, you can use:
helm snapshot -f https://meshery.io/charts/v0.8.0-meshery.tar.gz -n meshery-chart
Meshery Extensions are plugins or add-ons that enhance the functionality of the Meshery platform beyond its core capabilities. Meshery supports different types of extensions (docs):