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:
|
||||
push:
|
||||
@ -13,10 +13,13 @@ jobs:
|
||||
name: Setup Kubeconform
|
||||
- name: Kubeconform
|
||||
continue-on-error: true
|
||||
run: find . \
|
||||
-name '*.yaml' \
|
||||
! -name '*values.yaml' \
|
||||
! -path './.gitea/*' -print0 | \
|
||||
xargs -0 kubeconform -summary -verbose -output pretty -ignore-missing-schemas \
|
||||
-schema-location "https://raw.githubusercontent.com/jetstack/cert-manager/master/deploy/crds/{{ .Group }}_{{ .Version }}_{{ .Kind }}.json"
|
||||
|
||||
run: |
|
||||
find . -name '*.yaml' \
|
||||
! -name '*values.yaml' \
|
||||
! -path './.gitea/*' \
|
||||
-print0 \
|
||||
| xargs -0 kubeconform \
|
||||
-summary \
|
||||
-verbose \
|
||||
-output pretty \
|
||||
-ignore-missing-schemas
|
||||
|
Reference in New Issue
Block a user