Skip to content

Commit fb8c242

Browse files
committed
fix linting
1 parent d147c3c commit fb8c242

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,12 @@ jobs:
8282
run: |
8383
curl -fsSL https://github.com/yannh/kubeconform/releases/latest/download/kubeconform-linux-amd64.tar.gz \
8484
| tar xz -C /usr/local/bin kubeconform
85-
- run: kubeconform -strict -summary operator.yaml crds.yaml
85+
- name: Lint manifests
86+
run: |
87+
kubeconform -strict -summary \
88+
-schema-location default \
89+
-schema-location 'https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/{{ .NormalizedKubernetesVersion }}-standalone{{ .StrictSuffix }}/{{ .ResourceKind }}{{ .KindSuffix }}.json' \
90+
operator.yaml crds.yaml
8691
8792
tests-pass:
8893
if: always()

0 commit comments

Comments
 (0)