ci: add kube-linter
This commit is contained in:
parent
cf06fcf2c5
commit
767499952e
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: kubernetes
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: lint
|
||||||
|
image: golang:1.21
|
||||||
|
commands:
|
||||||
|
# TODO: make kube-linter Docker image work with Drone.
|
||||||
|
- go install golang.stackrox.io/kube-linter/cmd/kube-linter@latest
|
||||||
|
- kube-linter lint .
|
|
@ -0,0 +1,4 @@
|
||||||
|
checks:
|
||||||
|
ignorePaths:
|
||||||
|
- ./deploy//dev/**
|
||||||
|
- ./**/inflated/**
|
Loading…
Reference in New Issue