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

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

License

Notifications You must be signed in to change notification settings

eitrtechnologies/pre-commit-bannedk8skinds

Repository files navigation

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