diff --git a/pkg/cmd/dockerregistry/dockerregistry.go b/pkg/cmd/dockerregistry/dockerregistry.go index e89fc46f399f..97da867a1ab9 100644 --- a/pkg/cmd/dockerregistry/dockerregistry.go +++ b/pkg/cmd/dockerregistry/dockerregistry.go @@ -223,6 +223,8 @@ func alive(path string, handler http.Handler) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { if r.URL.Path == path { w.Header().Set("Cache-Control", "no-cache") + // TODO: Make this a special version endpoint? + w.Header().Set("Docker-Registry-Vendor", "openshift") w.WriteHeader(http.StatusOK) return }