-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
- Loading branch information
There are no files selected for viewing
This file was deleted.
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 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,11 @@ 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 | ||
Check failure Code scanning / check-spelling Unrecognized Spelling Error
yannh is not a recognized word. (unrecognized-spelling)
Check warning Code scanning / check-spelling Candidate Pattern Warning
Line matches candidate pattern "go install(?:\\s+[a-z]+\.[-@\\w/.]+)+" (candidate-pattern)
Check failure Code scanning / check-spelling Unrecognized Spelling Error
kubeconform is not a recognized word. (unrecognized-spelling)
Check failure Code scanning / check-spelling Unrecognized Spelling Error
kubeconform is not a recognized word. (unrecognized-spelling)
|
||
echo "$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: Validate kubernetes objects | ||
run: | | ||
./.github/kubeval.sh | ||
./.github/validate-kube.sh |