Skip to content

Commit cf8d964

Browse files
Merge pull request #1478 from marcusportmann/master
Changed address for readiness and liveness probes on registry-server
2 parents 964ca16 + 51dbf04 commit cf8d964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/controller/registry/reconciler/reconciler.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ func Pod(source *v1alpha1.CatalogSource, name string, image string, labels map[s
114114
ReadinessProbe: &v1.Probe{
115115
Handler: v1.Handler{
116116
Exec: &v1.ExecAction{
117-
Command: []string{"grpc_health_probe", "-addr=localhost:50051"},
117+
Command: []string{"grpc_health_probe", "-addr=:50051"},
118118
},
119119
},
120120
InitialDelaySeconds: readinessDelay,
@@ -123,7 +123,7 @@ func Pod(source *v1alpha1.CatalogSource, name string, image string, labels map[s
123123
LivenessProbe: &v1.Probe{
124124
Handler: v1.Handler{
125125
Exec: &v1.ExecAction{
126-
Command: []string{"grpc_health_probe", "-addr=localhost:50051"},
126+
Command: []string{"grpc_health_probe", "-addr=:50051"},
127127
},
128128
},
129129
InitialDelaySeconds: livenessDelay,

0 commit comments

Comments
 (0)