From e5999d98a14d0f268b8f5f05664bb9e35772fb9b Mon Sep 17 00:00:00 2001 From: cici37 Date: Tue, 26 Oct 2021 16:17:34 +0000 Subject: [PATCH] Address typo. --- .../2876-crd-validation-expression-language/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keps/sig-api-machinery/2876-crd-validation-expression-language/README.md b/keps/sig-api-machinery/2876-crd-validation-expression-language/README.md index 6d4e5e494600..dca1026f5627 100644 --- a/keps/sig-api-machinery/2876-crd-validation-expression-language/README.md +++ b/keps/sig-api-machinery/2876-crd-validation-expression-language/README.md @@ -237,8 +237,8 @@ will be surfaced when the validation rule evaluates to false. extension in the schema. In the above example, the validator is scoped to the `spec` field. `self` will be used to represent the name of the field which the validator is scoped to. - - Consideration under adding `self`: There would be composition problem while generating CRD with tools like `controller-gen`. - When trying to add validation as a maker comment to a field, the validation rule will + - Consideration under adding the representative of scoped filed name: There would be composition problem while generating CRD with tools like `controller-gen`. + When trying to add validation as a marker comment to a field, the validation rule will be hard to define without the actual field name. As the example showing below. When we want to put cel validation on ToySpec, the field name as `spec` has not been identified yet which makes rule hard to define.