fix: probePath for plugin and devfile registries deployments (#1690)

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
pull/1693/head
Anatolii Bazko 2023-05-26 16:38:15 +03:00 committed by GitHub
parent 109d3c2ce1
commit ae66d5c51d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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