From 3309fc8b7de8679a2fa0b9867774b97af6872a50 Mon Sep 17 00:00:00 2001 From: Vincent Liu <128127889+vl-kp@users.noreply.github.com> Date: Thu, 9 Jul 2026 16:37:51 +0800 Subject: [PATCH 1/2] chore: ignore archibot-db-gateway httpGet.port schema errors Allow archibot to probe the plain-HTTP :8080 /healthz listener while image.port stays on TLS :8443. Chart templates already honor httpGet.port; only the strict values schema rejects it until platform-managed-chart is updated. --- kp_pre_commit_hooks/gitops_values_validation.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kp_pre_commit_hooks/gitops_values_validation.py b/kp_pre_commit_hooks/gitops_values_validation.py index be87c4c..aa1ebf5 100755 --- a/kp_pre_commit_hooks/gitops_values_validation.py +++ b/kp_pre_commit_hooks/gitops_values_validation.py @@ -464,7 +464,19 @@ class ServiceInstanceConfigValidator: "$.platform-managed-chart.api.deployment": [ "Additional properties are not allowed ('tolerations' was unexpected)" ] - } + }, + # Chart templates honor httpGet.port (default image.port), but the strict + # values schema only allows path. Whitelist until platform-managed-chart + # schema accepts port (needed for archibot-db-gateway :8080 /healthz while + # image.port stays on TLS :8443). + "archibot": { + "$.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": [ + "Additional properties are not allowed ('port' was unexpected)" + ], + }, } def __init__(self, service_instance_config: ServiceInstanceConfig): From 6061ab7f81a32a773719078180804881e388edcf Mon Sep 17 00:00:00 2001 From: Vincent Liu <128127889+vl-kp@users.noreply.github.com> Date: Thu, 9 Jul 2026 16:39:34 +0800 Subject: [PATCH 2/2] chore: update gitops_values_validation.py --- kp_pre_commit_hooks/gitops_values_validation.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kp_pre_commit_hooks/gitops_values_validation.py b/kp_pre_commit_hooks/gitops_values_validation.py index aa1ebf5..e94e3e0 100755 --- a/kp_pre_commit_hooks/gitops_values_validation.py +++ b/kp_pre_commit_hooks/gitops_values_validation.py @@ -465,10 +465,6 @@ class ServiceInstanceConfigValidator: "Additional properties are not allowed ('tolerations' was unexpected)" ] }, - # Chart templates honor httpGet.port (default image.port), but the strict - # values schema only allows path. Whitelist until platform-managed-chart - # schema accepts port (needed for archibot-db-gateway :8080 /healthz while - # image.port stays on TLS :8443). "archibot": { "$.platform-managed-chart.services['archibot-db-gateway'].livenessProbe.httpGet": [ "Additional properties are not allowed ('port' was unexpected)"