Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Latest commit

 

History

History
28 lines (21 loc) · 1.01 KB

README.md

File metadata and controls

28 lines (21 loc) · 1.01 KB

THIS REPO IS DEPRECATED.

The bannedk8skinds hook has moved to: https://github.com/eitrtechnologies/pre-commit-yamlpolicy

pre-commit-bannedk8skinds

pre-commit hook to deny commits of certain Kubernetes object types

See also: https://github.com/pre-commit/pre-commit

Using pre-commit-bannedk8skinds with pre-commit

Add this to your .pre-commit-config.yaml

-   repo: https://github.com/eitrtechnologies/pre-commit-bannedk8skinds
    rev: v1.0.0  # Use the ref you want to point to
    hooks:
    -   id: bannedk8skinds

Hooks Available

bannedk8skinds

Deny commits of certain Kubernetes object types. Defaults to Secret