add k8s utils
This commit is contained in:
parent
40a935dd8d
commit
d3481db750
3 changed files with 60 additions and 0 deletions
35
.pre-commit-config.yaml
Normal file
35
.pre-commit-config.yaml
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# See https://pre-commit.com for more information
|
||||
# See https://pre-commit.com/hooks.html for more hooks
|
||||
repos:
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v5.0.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
- id: check-added-large-files
|
||||
- id: end-of-file-fixer
|
||||
- repo: https://github.com/hhatto/autopep8
|
||||
rev: 'v2.3.2'
|
||||
hooks:
|
||||
- id: autopep8
|
||||
- repo: https://github.com/gitleaks/gitleaks.git
|
||||
rev: 'v8.24.0'
|
||||
hooks:
|
||||
- id: gitleaks
|
||||
- repo: https://github.com/koalaman/shellcheck-precommit
|
||||
rev: v0.10.0
|
||||
hooks:
|
||||
- id: shellcheck
|
||||
exclude: .*jenkins-slave$
|
||||
- repo: https://github.com/hadolint/hadolint
|
||||
rev: v2.13.1-beta
|
||||
hooks:
|
||||
- id: hadolint-docker
|
||||
args:
|
||||
- --ignore=DL3015 # Ignore not using --no-install-recommends with apt
|
||||
- --ignore=DL3008 # Ignore not pinning all software package versions (apt-get)
|
||||
- --ignore=DL3018 # Ignore not pinning all software package versions (apk)
|
||||
- --ignore=SC1091 # Ignore missing shellcheck mock files
|
||||
- repo: https://github.com/gruntwork-io/pre-commit
|
||||
rev: 'v0.1.26'
|
||||
hooks:
|
||||
- id: terraform-validate
|
||||
Loading…
Add table
Add a link
Reference in a new issue