diff --git a/.github/actions/helm-validate/README.md b/.github/actions/helm-validate/README.md index edc6323..4b52e97 100644 --- a/.github/actions/helm-validate/README.md +++ b/.github/actions/helm-validate/README.md @@ -12,6 +12,7 @@ steps: uses: NVIDIA/dsx-github-actions/.github/actions/helm-validate@main with: chart-path: ./charts/my-chart + helm-version: v3.18.3 valueOverrides: | global.env=prod image.tag=v1.0.0 @@ -24,6 +25,7 @@ steps: | Input | Description | Required | Default | | --- | --- | --- | --- | | `chart-path` | Root directory for the Helm Chart | No | . | +| `helm-version` | Helm version to install for validation | No | v3.13.2 | | `lint` | Whether to lint the Helm Chart | No | true | | `template` | Whether to template the Helm Chart | No | true | | `extra-repos` | Extra repositories (JSON or "name url" per line) | No | [] | diff --git a/.github/actions/helm-validate/action.yml b/.github/actions/helm-validate/action.yml index 3b2f70a..03c6580 100644 --- a/.github/actions/helm-validate/action.yml +++ b/.github/actions/helm-validate/action.yml @@ -20,6 +20,10 @@ inputs: description: "Root directory for the Helm Chart" required: false default: "." + helm-version: + description: "Helm version to install for validation" + required: false + default: "v3.13.2" lint: description: "Whether to lint the Helm Chart" required: false @@ -46,7 +50,8 @@ runs: - name: Install Helm shell: bash run: | - "${{ github.action_path }}/../helm-shared/scripts/install-helm.sh" + "${{ github.action_path }}/../helm-shared/scripts/install-helm.sh" \ + "${{ inputs.helm-version }}" - name: Process Variables shell: bash