From ae66d5c51d643e28aa5cfd6965231c8dd280359e Mon Sep 17 00:00:00 2001 From: Anatolii Bazko Date: Fri, 26 May 2023 16:38:15 +0300 Subject: [PATCH] fix: probePath for plugin and devfile registries deployments (#1690) Signed-off-by: Anatolii Bazko --- pkg/deploy/registry/registry_deployment.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/deploy/registry/registry_deployment.go b/pkg/deploy/registry/registry_deployment.go index 54f400faa..b0399ad7f 100644 --- a/pkg/deploy/registry/registry_deployment.go +++ b/pkg/deploy/registry/registry_deployment.go @@ -94,7 +94,7 @@ func GetSpecRegistryDeployment( ReadinessProbe: &corev1.Probe{ ProbeHandler: corev1.ProbeHandler{ HTTPGet: &corev1.HTTPGetAction{ - Path: "/" + registryType + "s/", + Path: probePath, Port: intstr.IntOrString{ Type: intstr.Int, IntVal: int32(8080), @@ -111,7 +111,7 @@ func GetSpecRegistryDeployment( LivenessProbe: &corev1.Probe{ ProbeHandler: corev1.ProbeHandler{ HTTPGet: &corev1.HTTPGetAction{ - Path: "/" + registryType + "s/", + Path: probePath, Port: intstr.IntOrString{ Type: intstr.Int, IntVal: int32(8080),