From bd4774aafb5f60cd6f4fa3ea09b01b61ef017a90 Mon Sep 17 00:00:00 2001 From: Vincent Liu <128127889+vl-kp@users.noreply.github.com> Date: Fri, 10 Jul 2026 13:22:00 +0800 Subject: [PATCH 1/2] fix: match archibot httpGet.port ignore keys to jsonschema 4.19 json_path CI pins jsonschema==4.19.0, which emits hyphenated service keys with dot notation (services.archibot-db-gateway), not brackets. The v0.61.0 ignore never matched, so values-dev-tech-support still failed validation. From 6da8ace5bdabf3839d5fb2e97d12fb0f8f96aaa6 Mon Sep 17 00:00:00 2001 From: Vincent Liu <128127889+vl-kp@users.noreply.github.com> Date: Fri, 10 Jul 2026 13:22:23 +0800 Subject: [PATCH 2/2] fix: match archibot httpGet.port ignore keys to jsonschema 4.19 json_path CI pins jsonschema==4.19.0, which emits hyphenated service keys with dot notation (services.archibot-db-gateway), not brackets. The v0.61.0 ignore never matched, so values-dev-tech-support still failed validation. --- kp_pre_commit_hooks/gitops_values_validation.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kp_pre_commit_hooks/gitops_values_validation.py b/kp_pre_commit_hooks/gitops_values_validation.py index e94e3e0..de2bfad 100755 --- a/kp_pre_commit_hooks/gitops_values_validation.py +++ b/kp_pre_commit_hooks/gitops_values_validation.py @@ -465,11 +465,12 @@ class ServiceInstanceConfigValidator: "Additional properties are not allowed ('tolerations' was unexpected)" ] }, + # jsonschema 4.19.0 emits hyphenated keys with dot notation (not brackets). "archibot": { - "$.platform-managed-chart.services['archibot-db-gateway'].livenessProbe.httpGet": [ + "$.platform-managed-chart.services.archibot-db-gateway.livenessProbe.httpGet": [ "Additional properties are not allowed ('port' was unexpected)" ], - "$.platform-managed-chart.services['archibot-db-gateway'].readinessProbe.httpGet": [ + "$.platform-managed-chart.services.archibot-db-gateway.readinessProbe.httpGet": [ "Additional properties are not allowed ('port' was unexpected)" ], },