fix(k8s/proxy): proxy healthz request to k8s api (#5090)

pull/4894/merge
Chaim Lev-Ari 4 years ago committed by GitHub
parent ef8794c2b9
commit 819faa3948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save