From 078e6ea1b10c109f7a4b48d1c5b71e40b8c047de Mon Sep 17 00:00:00 2001 From: Maciej Szulik Date: Mon, 20 Mar 2017 15:04:00 +0100 Subject: [PATCH] Bug 1433244 - allow imageimports to be long runing requests --- pkg/cmd/server/kubernetes/master_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/server/kubernetes/master_config.go b/pkg/cmd/server/kubernetes/master_config.go index 796523584f58..c39b28083deb 100644 --- a/pkg/cmd/server/kubernetes/master_config.go +++ b/pkg/cmd/server/kubernetes/master_config.go @@ -61,7 +61,7 @@ import ( // request paths that match this regular expression will be treated as long running // and not subjected to the default server timeout. -const originLongRunningEndpointsRE = "(/|^)buildconfigs/.*/instantiatebinary$" +const originLongRunningEndpointsRE = "(/|^)(buildconfigs/.*/instantiatebinary|imagestreamimports)$" var LegacyAPIGroupPrefixes = sets.NewString(genericapiserver.DefaultLegacyAPIPrefix, api.Prefix, api.LegacyPrefix)