mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
Add pre-commit configuration to run kubeconform
Contribute a pre-commit hook specification, so https://pre-commit.com/ can discover how to run kubeconform.
This commit is contained in:
parent
e60892483e
commit
0afab8e098
1 changed files with 11 additions and 0 deletions
11
.pre-commit-hooks.yaml
Normal file
11
.pre-commit-hooks.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
- id: kubeconform
|
||||
name: kubeconform
|
||||
description: Kubernetes manifest validation
|
||||
entry: kubeconform
|
||||
language: golang
|
||||
pass_filenames: true
|
||||
require_serial: true
|
||||
minimum_pre_commit_version: "2.9.0"
|
||||
stages: [pre-commit, pre-merge-commit, pre-push, manual]
|
||||
exclude: ^\. # paths starting with .
|
||||
types: ["yaml"]
|
||||
Loading…
Reference in a new issue