]
- **`-f`**, **`--file`**: (required) path or URL to the Helm chart (required).
- **`--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.
+- **`-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:
+To generate a snapshot for a Helm chart located at `https://meshery.io/charts/meshery-v0.8.12.tgz`, you can use:
```bash
-helm helm-kanvas-snapshot -f https://meshery.io/charts/v0.8.0-meshery.tar.gz --name meshery-chart
+helm helm-kanvas-snapshot -f https://meshery.io/charts/meshery-v0.8.12.tgz --name meshery-chart
```
## Contributing
Please do! Thank you for your help in improving this Meshery extension! :balloon:
-Start by forking the repository.
+Start by forking the repository. After making your changes, submit a pull request. For more information, see the [Contributing Guide](CONTRIBUTING.md).
+
**1. Fork the Repository**
To get started, you'll first need to clone the Meshery Snapshot Helm Plugin repository from GitHub. Run the following command in your terminal:
```bash
-git clone https://github.com/layer5labs/meshery-extensions-packages.git
+git clone https://github.com/meshery/helm-kanvas-snapshot.git
```
**2. Navigate to the Plugin Directory**
@@ -109,42 +110,20 @@ Once the repository is cloned, navigate to the `helm-kanvas-snapshot` directory.
cd helm-kanvas-snapshot
```
-**3. Replace the placeholder values with your actual credentials.**
-
-**4. Build the binary**
+**4. Build the binary locally**
```bash
-make
+make local.build
```
-**5. Install the Snapshot plugin**
+**5. Test the binary**
```bash
-helm plugin install kanvas-snapshot
-```
-
-**6. Test the Plugin Locally**
-
-Once the plugin is built, you can test it locally. For example, to generate a snapshot for a Helm chart, run the following command:
-
-```bash
-helm helm-kanvas-snapshot -f https://meshery.io/charts/v0.8.0-meshery.tar.gz --name meshery-chart
+./helm-kanvas-snapshot -f https://meshery.io/charts/v0.8.0-meshery.tar.gz
```
This command will trigger the snapshot generation process. If everything is set up correctly, you should see a visual snapshot URL or receive the snapshot via email, depending on the options you specified.
-**7. Debugging**
-
-If you encounter any issues during testing, check the log file generated in the `snapshot-plugin` directory. The logs can provide more insight into any errors that may occur.
-
-To check the logs, open the log file in your preferred text editor:
-
-```bash
-cat snapshot.log
-```
-
-This file contains a timestamped log of operations performed during the snapshot generation process.
-
## Join the Meshery community!
@@ -205,7 +184,7 @@ Please do! We're a warm and welcoming community of open source contributors. Ple
### Show Your Support
- If you like Meshery, please ★ star this repository to show your support! 🤩
+ If you like Helm kanvas Snapshot, please ★ star this repository to show your support! 🤩
### License
diff --git a/helm-kanvas-snapshot b/helm-kanvas-snapshot
deleted file mode 100755
index b3c332405b..0000000000
Binary files a/helm-kanvas-snapshot and /dev/null differ
diff --git a/helpers/Makefile.core.mk b/helpers/Makefile.core.mk
index 0047349e21..81f0e4c84b 100644
--- a/helpers/Makefile.core.mk
+++ b/helpers/Makefile.core.mk
@@ -1,4 +1,5 @@
GOVERSION = 1.21
PROVIDER_TOKEN="dev_token"
-MESHERY_CLOUD_API_BASE_URL="http://localhost:9876"
-MESHERY_API_BASE_URL="http://localhost:3000"
+MESHERY_CLOUD_API_BASE_URL="https://cloud.layer5.io"
+MESHERY_API_BASE_URL="https://playground.meshery.io"
+GH_ACCESS_TOKEN="your_github_access_token" # replace with your github access token. do not commit this