Skip to content

Commit

Permalink
fix: use the correct secret in pullFromExternalRegistry in kaniko bui…
Browse files Browse the repository at this point in the history
…lds (#4094) (#4096)
  • Loading branch information
Walther authored Apr 19, 2023
1 parent 6e9931c commit 1a2a6d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/kubernetes/commands/pull-image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ async function pullFromExternalRegistry({ ctx, log, localId, remoteId }: PullPar
let namespace: string
let authSecretName: string

if (buildMode === "cluster-buildkit") {
if (buildMode === "cluster-buildkit" || buildMode === "kaniko") {
namespace = await getAppNamespace(ctx, log, ctx.provider)

const { authSecret } = await ensureBuilderSecret({
Expand Down

0 comments on commit 1a2a6d8

Please sign in to comment.