mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-25 14:30:22 +00:00
d1c28fa57a
Adding annotation support to both the CephFS and RBD charts. Support setting the DaemonSet and Pod level annotations for the nodeplugin. Support setting the Deployment and Pod level annotations for the provisioner. Signed-off-by: Mike Vollman <mike@reportallusa.com>
37 lines
908 B
YAML
37 lines
908 B
YAML
---
|
|
repos:
|
|
|
|
# Check if the commit message has a valid sign-off.
|
|
- repo: https://github.com/gklein/check_signoff
|
|
rev: v1.0.5
|
|
hooks:
|
|
- id: check-signoff
|
|
|
|
# Catch gofmt issues, if any.
|
|
- repo: https://github.com/dnephin/pre-commit-golang
|
|
rev: v0.3.5
|
|
hooks:
|
|
- id: go-fmt
|
|
|
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
rev: v2.5.0
|
|
hooks:
|
|
# Verify syntax of yaml and json files.
|
|
- id: check-json
|
|
- id: check-yaml
|
|
args: [--multi]
|
|
exclude: ^charts/ceph-csi-(cephfs|rbd)/templates/
|
|
|
|
# Makes sure that files end in a new line.
|
|
- id: end-of-file-fixer
|
|
|
|
# Trims trailing whitespace.
|
|
- id: trailing-whitespace
|
|
|
|
# Run commitlint check on the commit message.
|
|
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
|
rev: v2.2.0
|
|
hooks:
|
|
- id: commitlint
|
|
stages: [commit-msg]
|