Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

onedr0p/sops-pre-commit

Repository files navigation

sops-pre-commit

pre-commit.ci status

Sops pre-commit hook.

  • Check for unencrypted Kubernetes secrets in manifest files.

Requirements

  • Pre-commit 1.2 or later

Installation

Add the following to your .pre-commit-config.yaml

- repo: https://github.com/onedr0p/sops-pre-commit
  rev: v2.1.0
  hooks:
    - id: forbid-secrets

License

This software is licensed under the MIT license (see the LICENSE file).