Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
960d310
feat: add promise check command for review-findings gate
shano Aug 14, 2026
bfbee6e
feat: wire Level-1 gates into promise check via --promise-dir/--examp…
shano Aug 14, 2026
6a91da9
test: cover Level-1 gates (pass, scope, missing image, multi-delete, …
shano Aug 14, 2026
d5ed431
refactor: reuse real Kratix/CRD types for Level-1 promise checks
shano Aug 18, 2026
9a6041a
fix: check promise-workflow pipeline images too, not just resource
shano Aug 18, 2026
933147d
fix: validate examples with the real recursive OpenAPI schema validator
shano Aug 18, 2026
56be9e3
fix: build a deterministic GVK index instead of matching via map order
shano Aug 18, 2026
0107dbd
fix: rename runLevel1Gates to runLevelOneGates
shano Aug 18, 2026
a0d0df3
fix: reject trailing content after the review-findings document
shano Aug 18, 2026
1ca06a9
fix: surface readYAMLDir I/O errors instead of swallowing them
shano Aug 18, 2026
14f9db9
fix: validate every document in a multi-document example file
shano Aug 18, 2026
e55d7a8
fix: reject a null review-findings document
shano Aug 18, 2026
861d025
fix: evaluate CRD CEL rules and apply schema defaults before validati…
shano Aug 18, 2026
caca828
fix: remove review-findings check, now a separate plugin
shano Aug 18, 2026
7902456
refactor: drop Level-1/gate jargon from promise check language
shano Aug 18, 2026
cf0e76c
fix: prune unknown fields before defaulting and CEL validation
shano Aug 18, 2026
8ab7dea
refactor: merge promise_check_level1.go into promise_check.go
shano Aug 18, 2026
3acd89d
fix: restore merged content dropped by a failed git add invocation
shano Aug 18, 2026
f46b73c
docs: document kratix promise check usage
shano Aug 18, 2026
8a6f267
fix: pin Go toolchain to 1.26.6 to close stdlib CVEs
SaphMB Aug 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,18 @@ the `kratix build promise` command to combine the Promise api, workflow, and dep
kratix build promise PROMISE-NAME
```

### Checking a Promise

To validate a Promise's CRD, workflows, and examples, you can use the `kratix promise check` command:
```
kratix promise check --promise-dir promises --example-dir resource-requests
```
Both flags are optional and default to `promises`/`resource-requests`; either directory can be omitted and its
checks are skipped. When both are provided, this checks that the Promise's CRD is a valid, Namespaced-scope
CustomResourceDefinition, every workflow pipeline container has an image set, the delete workflow is well-formed,
and every example/Resource Request in `--example-dir` validates against its Promise's CRD schema (including CEL
rules and schema defaults).

To see helpful messages about using the cli, you can run:
```
kratix help
Expand Down
Loading
Loading