Revert Kaniko to external registry for base image pulls #93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-kaniko-registry-pull"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Removes
build_args: "REGISTRY=harbor.harbor.svc.cluster.local"and--insecure-pullfrom the Kaniko build step. PR #79 re-introduced these after PR #78 removed them, but Kaniko's registry client cannot reach Harbor internally — every main-branch pipeline since #190 has failed withi/o timeout/connection refused.Kaniko will now pull base images via the Dockerfile default (
harbor.tail5b443a.ts.net). Push still uses the internal URL viaregistry/insecuresettings.Changes
.woodpecker.yaml— removebuild_argsand--insecure-pullfrom build-and-push stepTest Plan
Review Checklist
Related Notes
Reverts the regression from PR #79. Restores the fix from PR #78.
Closes #79
PR #93 Review
DOMAIN REVIEW
Tech stack: Woodpecker CI / Kaniko (CI/CD pipeline config).
This is a two-line revert in
.woodpecker.yamlthat removes:build_args: "REGISTRY=harbor.harbor.svc.cluster.local"-- was overriding the DockerfileARG REGISTRYdefault, forcing Kaniko to pull base images from the cluster-internal Harbor address.--insecure-pullfromextra_opts-- only needed when pulling from an insecure (non-TLS) registry.Correctness verified: The Dockerfile at lines 4 and 19 defines
ARG REGISTRY=harbor.tail5b443a.ts.net(Tailscale FQDN). Without thebuild_argsoverride, Kaniko will use this default forFROMpulls. The push path (registry: harbor.harbor.svc.cluster.local+insecure: true) is correctly preserved and unmodified.History context: PR #78 originally removed
build_args. PR #79 re-introduced it (along with--insecure-pull) as an alternative fix attempt. That approach failed because Kaniko's registry client cannot reach Harbor viaharbor.harbor.svc.cluster.localfor pulls. This PR reverts back to the PR #78 approach, which is the correct one.--skip-push-permission-checkis correctly retained inextra_opts-- it is still needed for the push path.No issues found with the CI/CD configuration change.
BLOCKERS
None.
This is a config-only revert of a known regression. No new functionality is introduced, so no new test coverage is required. The "test plan" appropriately relies on pipeline success post-merge, which is the correct validation for a CI config change.
NITS
SOP COMPLIANCE
fix-kaniko-registry-pullbut should be79-fix-kaniko-registry-pull(missing issue number prefix per{issue-number}-{kebab-case-purpose}convention). Non-blocking for a hotfix revert.from_secret)PROCESS OBSERVATIONS
registry,insecure,insecure-registryfor push) is unchanged.VERDICT: APPROVED
Pull request closed