From 2b48ac655e1e790f79e315d2300c2e9abcd1152e Mon Sep 17 00:00:00 2001 From: Patrik Oldsberg Date: Wed, 5 Mar 2025 23:52:18 +0100 Subject: [PATCH] docs/software-catalog: review fixes for entity predicate docs Signed-off-by: Patrik Oldsberg --- docs/features/software-catalog/catalog-customization.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/features/software-catalog/catalog-customization.md b/docs/features/software-catalog/catalog-customization.md index 0a4fcc8090..38c4b2a951 100644 --- a/docs/features/software-catalog/catalog-customization.md +++ b/docs/features/software-catalog/catalog-customization.md @@ -609,7 +609,7 @@ filter: $all: - kind: component - $not: - spec.type: service + spec.type: service ``` #### `$any` @@ -637,7 +637,7 @@ The `$not` operator has the following syntax: { $not: { } } ``` -The `$not` operator inverts the result of the provided express. If the expression evalutes to `true` then `$not` will evaluate to false, and the other way around. +The `$not` operator inverts the result of the provided express. If the expression evaluates to `true` then `$not` will evaluate to false, and the other way around. ```yaml title="Example usage of $not" filter: @@ -657,7 +657,7 @@ The `$exists` operator has the following syntax: { field: { $exists: } } ``` -The `$exists` operator will evaluate to `true` if the existence of the value it matches against matches the provided boolean. That is `{ $exists: true }` will evaluate to `true` if and only if the value is defined, and `{ $exists: false }` will evalute to `true` if and only if the value is `undefined`. +The `$exists` operator will evaluate to `true` if the existence of the value it matches against matches the provided boolean. That is `{ $exists: true }` will evaluate to `true` if and only if the value is defined, and `{ $exists: false }` will evaluate to `true` if and only if the value is not defined. ```yaml title="Example usage of $exists" filter: