Skip to content

Commit e06505f

Browse files
janiszclaude
andcommitted
Add missing schema-validation built-in check and config
Fix the builtin-schema-validation test failure by creating: - Built-in check that wraps kubeconform template for schema validation - Test config file that enables the schema-validation check This completes the implementation started in commit 0304239 which added the test and deprecation message but missed these files. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 61e6c97 commit e06505f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
checks:
2+
addAllBuiltIn: false
3+
include:
4+
- "schema-validation"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
name: "schema-validation"
2+
description: "Validate Kubernetes resources against their schemas using kubeconform"
3+
remediation: "Fix the resource to conform to the Kubernetes API schema"
4+
scope:
5+
objectKinds:
6+
- Any
7+
template: "kubeconform"
8+
params:
9+
strict: true
10+
ignoreMissingSchemas: true

0 commit comments

Comments
 (0)