ci: add kube-linter

This commit is contained in:
Rob Watson 2023-09-11 00:30:17 +02:00
parent cf06fcf2c5
commit 767499952e
2 changed files with 16 additions and 0 deletions

12
.drone.yml Normal file
View File

@ -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 .

4
.kube-linter.yaml Normal file
View File

@ -0,0 +1,4 @@
checks:
ignorePaths:
- ./deploy//dev/**
- ./**/inflated/**