Skip to content

Instantly share code, notes, and snippets.

@romanlab
Last active June 6, 2021 12:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romanlab/6a01ca90765177c89d5387b8ca8f73f8 to your computer and use it in GitHub Desktop.
Save romanlab/6a01ca90765177c89d5387b8ca8f73f8 to your computer and use it in GitHub Desktop.
Helm plugin hooks section
command: "echo The plugin is located in: \"$HELM_PLUGIN_DIR\" and its name is: \"$HELM_PLUGIN_NAME\""
hooks:
install: "cd $HELM_PLUGIN_DIR; ./scripts/install.sh"
update: "cd $HELM_PLUGIN_DIR; ./scripts/update.sh"
delete: "cd $HELM_PLUGIN_DIR; ./scripts/delete.sh"
platformCommand:
- os: linux
arch: i386
command: "echo The plugin is located in: \"$HELM_PLUGIN_DIR\" and its name is: \"$HELM_PLUGIN_NAME\". The OS is linux and the arch is i386"
- os: linux
arch: amd64
command: "echo The plugin is located in: \"$HELM_PLUGIN_DIR\" and its name is: \"$HELM_PLUGIN_NAME\". The OS is linux and the arch is amd64"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment