-
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
4 changed files
with
16 additions
and
12 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
This file was deleted.
Oops, something went wrong.
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 | ||
helm template "$f" | kubeconform --strict | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
kubeconform is not a recognized word. (unrecognized-spelling)
|
||
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,14 @@ jobs: | |
with: | ||
command: lint | ||
|
||
- name: Download kubeval | ||
- name: Download kubeconform | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
kubeconform is not a recognized word. (unrecognized-spelling)
|
||
run: | | ||
mkdir bin | ||
cd bin | ||
curl -L https://github.com/instrumenta/kubeval/releases/latest/download/kubeval-linux-amd64.tar.gz | | ||
tar zx | ||
pwd >> "$GITHUB_PATH" | ||
go install github.com/yannh/kubeconform/cmd/kubeconform@latest | ||
echo $(go env GOPATH)/bin >> "$GITHUB_PATH" | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
GOPATH is not a recognized word. (unrecognized-spelling)
|
||
- name: Run kubeval | ||
- name: debug | ||
run: echo "$PATH" | tr ':' "\n" | ||
|
||
- name: Validate kubernetes objects | ||
run: | | ||
./.github/kubeval.sh | ||
./.github/validate-kube.sh |