Skip to content

Commit 212430f

Browse files
authored
exclude config/webhook/manifests.yaml from yamlformat check (#21)
1 parent dea1d6e commit 212430f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ repos:
1515
rev: v0.10.0
1616
hooks:
1717
- id: yamlfmt
18-
exclude: ^config/crd/bases/.*\.yaml|config/rbac/role\.yaml
18+
exclude: ^config/crd/bases/.*\.yaml|config/rbac/role\.yaml|config/webhook/manifests\.yaml
1919
- repo: https://github.com/pre-commit/pre-commit-hooks
2020
rev: v4.5.0
2121
hooks:

config/webhook/manifests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
apiVersion: admissionregistration.k8s.io/v1
23
kind: MutatingWebhookConfiguration
34
metadata:

0 commit comments

Comments
 (0)