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),