Skip to content

Commit 373a4a3

Browse files
committed
Address typo.
1 parent 12e35c8 commit 373a4a3

File tree

1 file changed

+2
-2
lines changed
  • keps/sig-api-machinery/2876-crd-validation-expression-language

1 file changed

+2
-2
lines changed

keps/sig-api-machinery/2876-crd-validation-expression-language/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,8 @@ will be surfaced when the validation rule evaluates to false.
235235
extension in the schema. In the above example, the validator is scoped to the
236236
`spec` field. `self` will be used to represent the name of the field which the validator
237237
is scoped to.
238-
- Consideration under adding `self`: There would be composition problem while generating CRD with tools like `controller-gen`.
239-
When trying to add validation as a maker comment to a field, the validation rule will
238+
- Consideration under adding the representative of scoped filed name: There would be composition problem while generating CRD with tools like `controller-gen`.
239+
When trying to add validation as a marker comment to a field, the validation rule will
240240
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
241241
been identified yet which makes rule hard to define.
242242

0 commit comments

Comments
 (0)