mirror of
https://github.com/portainer/portainer.git
synced 2025-07-19 13:29:41 +02:00
fix(k8s/proxy): proxy healthz request to k8s api (#5090)
This commit is contained in:
parent
ef8794c2b9
commit
819faa3948
1 changed files with 1 additions and 1 deletions
|
@ -77,5 +77,5 @@ func (handler *Handler) proxyRequestsToKubernetesAPI(w http.ResponseWriter, r *h
|
|||
}
|
||||
|
||||
func isKubernetesRequest(requestURL string) bool {
|
||||
return strings.HasPrefix(requestURL, "/api")
|
||||
return strings.HasPrefix(requestURL, "/api") || strings.HasPrefix(requestURL, "/healthz")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue