Skip to content

Commit 253b425

Browse files
authored
Add kubeconform as a Github action step (#98)
* Add kubeconform as a Github action step * Fix * Fix * Pin version
1 parent 66bcbc2 commit 253b425

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/pr-workflow.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,12 @@ jobs:
2525
run: |
2626
helm lint charts/qdrant-kubernetes-api
2727
28+
- name: Run kubeconform
29+
shell: bash
30+
run: |
31+
go install github.com/yannh/kubeconform/cmd/[email protected]
32+
helm template charts/qdrant-kubernetes-api | kubeconform --summary -output pretty -schema-location default -schema-location "https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{.NormalizedKubernetesVersion}}/{{.ResourceKind}}.json"
33+
2834
- name: Check Go Formatting
2935
run: |
3036
files=$(gofmt -l .) && echo $files && [ -z "$files" ]

0 commit comments

Comments
 (0)