From c0ba221021e537d854311361b35da264a58886f5 Mon Sep 17 00:00:00 2001 From: Dakota Walsh <101994734+dakota-portainer@users.noreply.github.com> Date: Fri, 25 Aug 2023 13:12:41 +1200 Subject: [PATCH] fix(registry): ecr secret fix [EE-5673] (#10107) --- api/http/proxy/factory/kubernetes/deployments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/http/proxy/factory/kubernetes/deployments.go b/api/http/proxy/factory/kubernetes/deployments.go index c407e6199..9e72060ac 100644 --- a/api/http/proxy/factory/kubernetes/deployments.go +++ b/api/http/proxy/factory/kubernetes/deployments.go @@ -6,7 +6,7 @@ import ( func (transport *baseTransport) proxyDeploymentsRequest(request *http.Request, namespace, requestPath string) (*http.Response, error) { switch request.Method { - case http.MethodPost, http.MethodPatch: + case http.MethodPost, http.MethodPatch, http.MethodPut: transport.refreshRegistry(request, namespace) }