From 0b64179b900b17b985c6f7ba24df5ede065d12d2 Mon Sep 17 00:00:00 2001 From: hbc Date: Wed, 15 Nov 2023 05:46:09 +0800 Subject: [PATCH] fix: rename validation to crd From the sample, I think the field should be `crd` instead of `validation`. Signed-off-by: hbc --- constraint/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constraint/README.md b/constraint/README.md index 1b85ac006..38075ddfd 100644 --- a/constraint/README.md +++ b/constraint/README.md @@ -81,7 +81,7 @@ spec: The most important pieces of the above YAML are: - * `validation`, which provides the schema for the `parameters` field for the constraint + * `crd`, which provides the schema for the `parameters` field for the constraint * `targets`, which specifies what "target" (defined later) the constraint applies to. Note that currently constraints can only apply to one target. * `rego`, which defines the logic that enforces the constraint.