GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||
GeezerVison is showing github.com — feat(ci): validate embedded JSON blobs in ConfigMaps by devantler · Pull Request #2502 · devantler-tech/platform Conversation
Contributor
WhyConfigMaps that embed whole JSON documents (the Headlamp Kubescape exceptions policy, velero's node-agent config) are opaque strings to schema validation — a stray comma ships silently and only breaks where the JSON is consumed, where an empty exceptions view reads identical to a clean posture. Flagged by CodeRabbit on #2446. WhatAdds a fast stdlib-Python CI gate that json-parses every registered embedded-JSON ConfigMap key ( Fixes #2480
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsRegistered ConfigMap data keys (exceptionPolicies, *.json) are now json-parsed by scripts/validate-embedded-json.py as the first step of the validate job, so a JSON syntax error fails the PR instead of shipping as an opaque string that only breaks at consumption time. Fixes #2480 Co-Authored-By: Claude Fable 5 <[email protected]> Co-Authored-By: Claude Fable 5 <[email protected]>
|
There was an error while loading. Please reload this page.
📝 WalkthroughWalkthroughThis PR adds Sequence Diagram(s)Included above within the hidden review stack artifact. Related issues: Suggested labels: ci, documentation, scripts Suggested reviewers: devantler Poem: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
🎉 This PR is included in version 1.105.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Validate embedded JSON blobs in ConfigMaps in CI
There was an error while loading. Please reload this page.