Skip to content

Commit 4c6eead

Browse files
committed
fix: Allow enough time for az acr login to complete
Signed-off-by: Francesc Arbona <[email protected]>
1 parent 0154a7b commit 4c6eead

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/image/credentials.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ func (src *CredentialSource) FetchCredentials(registryURL string, kubeclient *ku
146146
return nil, fmt.Errorf("could not stat %s: %v", src.ScriptPath, err)
147147
}
148148
cmd := exec.Command(src.ScriptPath)
149-
out, err := argoexec.RunCommandExt(cmd, argoexec.CmdOpts{Timeout: 10 * time.Second})
149+
out, err := argoexec.RunCommandExt(cmd, argoexec.CmdOpts{Timeout: 30 * time.Second})
150150
if err != nil {
151151
return nil, fmt.Errorf("error executing %s: %v", src.ScriptPath, err)
152152
}

0 commit comments

Comments
 (0)