-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh -e | ||
for f in charts/*; do | ||
helmv3 template "$f" | kubeval --strict | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,10 @@ jobs: | |
with: | ||
command: lint | ||
|
||
- name: Create kind cluster | ||
uses: helm/[email protected] | ||
# Only build a kind cluster if there are chart changes to test. | ||
if: steps.lint.outputs.changed == 'true' | ||
- name: Run kubeval | ||
uses: stefanprodan/kube-tools@v1 | ||
with: | ||
version: v0.8.0 | ||
|
||
- name: Run chart-testing (install) | ||
uses: helm/[email protected] | ||
with: | ||
command: install | ||
kubectl: 1.18.2 | ||
helmv3: 3.2.1 | ||
command: | | ||
./.github/kubeval.sh |