Sanitize node configs via script, and do it automatically in a Git hook #633

Closed
raucao wants to merge 24 commits from dev/sanitize_nodes into feature/prometheus_cookbook
Owner

Adds a new util script for sanitizing node config JSON files (requires jq), and a pre-commit hook that runs it on staged files in nodes/ and asks to re-stage the files in case they have been sanitized by the hook.

Check the README change for adding the hook on your machine(s).

Adds a new util script for sanitizing node config JSON files (requires `jq`), and a pre-commit hook that runs it on staged files in `nodes/` and asks to re-stage the files in case they have been sanitized by the hook. Check the README change for adding the hook on your machine(s).
raucao added the dev environmentsecurity labels 2026-07-05 12:32:28 +00:00
raucao requested review from greg 2026-07-05 12:32:33 +00:00
raucao added the kredits-2 label 2026-07-05 12:32:37 +00:00
raucao changed title from Sanitize nodes to Sanitize node configs via script, and do it automatically in a Git hook 2026-07-05 12:33:52 +00:00
raucao added 24 commits 2026-07-05 15:13:51 +00:00
raucao force-pushed dev/sanitize_nodes from 4bcbeaf1a8 to 5cc6347e2b 2026-07-05 15:13:51 +00:00 Compare
raucao closed this pull request 2026-07-05 15:14:42 +00:00

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kosmos/chef#633