helm/internal/plugin/testdata/plugdir/good/hello-v1/plugin.yaml
Scott Rigby a7578fec74
Plugin types and plugin apiVersion v1
Co-authored-by: George Jenkins <gvjenkins@gmail.com>
Signed-off-by: Scott Rigby <scott@r6by.com>
2025-08-22 17:17:36 -04:00

32 lines
679 B
YAML

---
name: "hello-v1"
version: "0.1.0"
type: cli/v1
apiVersion: v1
runtime: subprocess
config:
usage: hello [params]...
shortHelp: "echo hello message"
longHelp: |-
description
ignoreFlags: true
runtimeConfig:
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"]
platformHooks:
install:
- os: linux
arch: ""
command: "sh"
args: ["-c", 'echo "installing..."']
- os: windows
arch: ""
command: "pwsh"
args: ["-c", 'echo "installing..."']