fix(agent): for iamra and ecr login, detect errors and retry [be-12284] (#1309)

This commit is contained in:
Malcolm Lockyer
2025-10-29 17:24:02 +13:00
committed by GitHub
parent 32926aa8bf
commit f72d6b97d3
3 changed files with 179 additions and 0 deletions
+5
View File
@@ -75,6 +75,11 @@ func withCli(
cli.ConfigFile().AuthConfigs[r.ServerAddress] = r
}
if cli.ConfigFile().CredentialsStore == "portainer" {
log.Debug().Msg("completely disabling portainer credential store helper")
cli.ConfigFile().CredentialsStore = ""
}
return cliFn(ctx, cli)
}