From 68412799e4ed1971677165d9a3c92a3e1285206b Mon Sep 17 00:00:00 2001 From: Marley Date: Fri, 26 Sep 2025 08:03:15 +0100 Subject: [PATCH 1/2] fix: JSON filter syntax in catalog-customization.md Removed unnecessary braces from JSON filter example. Signed-off-by: Marley --- docs/features/software-catalog/catalog-customization.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/features/software-catalog/catalog-customization.md b/docs/features/software-catalog/catalog-customization.md index 1ef865039f..2ed4b34822 100644 --- a/docs/features/software-catalog/catalog-customization.md +++ b/docs/features/software-catalog/catalog-customization.md @@ -571,10 +571,8 @@ Finally, entity predicates also support value operators that can be used in plac ```json { "filter": { - { - "kind": "component", - "spec.type": { "$in": ["service", "website"] } - }, + "kind": "component", + "spec.type": { "$in": ["service", "website"] } } } ``` From 04530de989224f2b6477a484888b068e03d92286 Mon Sep 17 00:00:00 2001 From: Marley Date: Fri, 26 Sep 2025 08:55:39 +0100 Subject: [PATCH 2/2] Change `target` to `targetRef` in catalog customization Signed-off-by: Marley Powell --- docs/features/software-catalog/catalog-customization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/features/software-catalog/catalog-customization.md b/docs/features/software-catalog/catalog-customization.md index 2ed4b34822..a828e6591a 100644 --- a/docs/features/software-catalog/catalog-customization.md +++ b/docs/features/software-catalog/catalog-customization.md @@ -693,6 +693,6 @@ filter: relations: $contains: type: ownedBy - target: + targetRef: $in: [group:default/admins, group:default/viewers] ```