ci: add pre-commit, k8s and tflint action workflows

This commit is contained in:
cătălin 2024-08-04 02:22:11 +02:00
commit 399dd397bb
No known key found for this signature in database
5 changed files with 45 additions and 14 deletions

View file

@ -4,8 +4,9 @@ lint--pre-commit:
lint--kubeconform:
kubeconform -strict -ignore-missing-schemas k8s/
SHELl=/bin/bash
lint--kubescore:
kube-score score k8s/**.yaml
kube-score score $$(find k8s -type f -print -name "*.yaml")
lint--tflint:
tflint --recursive
@ -14,4 +15,5 @@ lint--tflint:
lint:
make lint--pre-commit
make lint--kubeconform
make lint--kube
make lint--tflint