Update .gitea/workflows/lint.yaml
All checks were successful
Check with kubeconform / lint (push) Successful in 4s
All checks were successful
Check with kubeconform / lint (push) Successful in 4s
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
name: Lint and Check
|
name: Check with kubeconform
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -13,10 +13,13 @@ jobs:
|
|||||||
name: Setup Kubeconform
|
name: Setup Kubeconform
|
||||||
- name: Kubeconform
|
- name: Kubeconform
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
run: find . \
|
run: |
|
||||||
-name '*.yaml' \
|
find . -name '*.yaml' \
|
||||||
! -name '*values.yaml' \
|
! -name '*values.yaml' \
|
||||||
! -path './.gitea/*' -print0 | \
|
! -path './.gitea/*' \
|
||||||
xargs -0 kubeconform -summary -verbose -output pretty -ignore-missing-schemas \
|
-print0 \
|
||||||
-schema-location "https://raw.githubusercontent.com/jetstack/cert-manager/master/deploy/crds/{{ .Group }}_{{ .Version }}_{{ .Kind }}.json"
|
| xargs -0 kubeconform \
|
||||||
|
-summary \
|
||||||
|
-verbose \
|
||||||
|
-output pretty \
|
||||||
|
-ignore-missing-schemas
|
||||||
|
Reference in New Issue
Block a user