diff --git a/Makefile b/Makefile index c29c336be2..289d5fa46f 100644 --- a/Makefile +++ b/Makefile @@ -96,11 +96,8 @@ print_home: local.deploy: local.build ## Deploys locally built Helm plugin - @mkdir -p ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/bin - @rm -rf ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/bin/helm-kanvas-snapshot - @cp helm-kanvas-snapshot ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/bin/helm-kanvas-snapshot - @cp plugin.yaml ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/ - @cp install-binary.sh ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/ + @rm -rf ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/bin/helm-kanvas-snapshot + @cp helm-images ${HOME}/Library/helm/plugins/helm-kanvas-snapshot/bin/helm-kanvas-snapshot publish: local.check ## Builds and publishes the app diff --git a/helm-kanvas-snapshot b/helm-kanvas-snapshot new file mode 100755 index 0000000000..b3c332405b Binary files /dev/null and b/helm-kanvas-snapshot differ diff --git a/plugin.yaml b/plugin.yaml index 2377eb7931..e3fb36cb12 100644 --- a/plugin.yaml +++ b/plugin.yaml @@ -1,4 +1,4 @@ -name: "kanvas-snapshot" +name: "helm-kanvas-snapshot" version: "0.1.0" usage: "Generate a visual snapshot of your Helm chart as a Meshery Snapshot" description: "A Helm plugin to generate Meshery Snapshots from Helm charts using a custom Go binary" @@ -7,7 +7,7 @@ command: "$HELM_PLUGIN_DIR/bin/helm-kanvas-snapshot" hooks: install: | echo "Snapshot plugin installed." - $HELM_PLUGIN_DIR/install-binary.sh + update: | echo "Snapshot plugin updated." $HELM_PLUGIN_DIR/install-binary.sh