Reading the repo
Reading the repo
How to install on Windows
Validate GitOps repository structure: controller, secrets, config separation.
Saved setup from 6 h ago
Will it work on my device?
CONTRIBUTING.mdThanks for taking the time to contribute.
A single-file Python CLI that validates GitOps repository structure: controller detection, secret externalization, plaintext secret scan, config separation. Zero dependencies, MIT licence.
git clone https://github.com/rahmankhanjohn/gitops-check.git
cd gitops-check
python -m unittest test_gitops_check -v
All tests should pass on Python 3.9 or newer. No install step.
gitops_check.py is the whole tool. Keep it that way.test_gitops_check.py that fails without your change.git checkout -b feat/your-change.python -m unittest test_gitops_check -v.python gitops_check.py . --report.Open a GitHub issue with:
Be direct, be specific, be kind. This is a tool for operators who are already having a hard quarter. Don't make them work harder to use it.
python gitops_check.py /path/to/gitops-repo
python gitops_check.py /path/to/gitops-repo --report
python gitops_check.py /path/to/gitops-repo --json
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/rahmankhanjohn/gitops-check.git cd gitops-check
Python 3
winget install Python.Python.3.12
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
python gitops_check.py /path/to/gitops-repo python gitops_check.py /path/to/gitops-repo --report python gitops_check.py /path/to/gitops-repo --json
No reports for Windows yet.
Opens a chat with this manual already filled in, for Windows. It uses your own account; gitmanual sends nothing.