Skip to content

Commit d7f4913

Browse files
Changed the pgAdmin readinessProbe to check /misc/ping instead of /login (#4118)
1 parent 1d8457a commit d7f4913

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

internal/controller/standalone_pgadmin/pod.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,13 +147,13 @@ func pod(
147147
},
148148
}
149149

150-
// Creating a readiness probe that will check that the pgAdmin `/login`
150+
// Creating a readiness probe that will check that the pgAdmin `/misc/ping`
151151
// endpoint is reachable at the specified port
152152
readinessProbe := &corev1.Probe{
153153
ProbeHandler: corev1.ProbeHandler{
154154
HTTPGet: &corev1.HTTPGetAction{
155155
Port: intstr.FromInt32(pgAdminPort),
156-
Path: "/login",
156+
Path: "/misc/ping",
157157
Scheme: corev1.URISchemeHTTP,
158158
},
159159
},

internal/controller/standalone_pgadmin/pod_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ containers:
107107
protocol: TCP
108108
readinessProbe:
109109
httpGet:
110-
path: /login
110+
path: /misc/ping
111111
port: 5050
112112
scheme: HTTP
113113
resources: {}
@@ -324,7 +324,7 @@ containers:
324324
protocol: TCP
325325
readinessProbe:
326326
httpGet:
327-
path: /login
327+
path: /misc/ping
328328
port: 5050
329329
scheme: HTTP
330330
resources:

0 commit comments

Comments
 (0)