helm/pkg/plugin/testdata/plugdir/good/hello/plugin.yaml
Andrew Block 83dddb1839
feat: Added multi-platform plugin hook support to v3
Signed-off-by: Steve Hipwell <steve.hipwell@gmail.com>
2025-01-02 12:45:36 +00:00

25 lines
514 B
YAML

name: "hello"
version: "0.1.0"
usage: "usage"
description: |-
description
platformCommand:
- os: linux
arch:
command: "sh"
args: ["-c", "${HELM_PLUGIN_DIR}/hello.sh"]
- os: windows
arch:
command: "pwsh"
args: ["-c", "${HELM_PLUGIN_DIR}/hello.ps1"]
ignoreFlags: true
platformHooks:
install:
- os: linux
arch: ""
command: "sh"
args: ["-c", 'echo "installing..."']
- os: windows
arch: ""
command: "pwsh"
args: ["-c", 'echo "installing..."']