Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/actions/helm-validate/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 | [] |
Expand Down
7 changes: 6 additions & 1 deletion .github/actions/helm-validate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading