Skip to content

feat(kaniko): basic-auth registry push (private Harbor as nonprod registry)#6

Merged
winggundamth merged 1 commit into
mainfrom
feat/v2.0-kaniko-basic-auth
Jun 21, 2026
Merged

feat(kaniko): basic-auth registry push (private Harbor as nonprod registry)#6
winggundamth merged 1 commit into
mainfrom
feat/v2.0-kaniko-basic-auth

Conversation

@winggundamth

Copy link
Copy Markdown
Contributor

Lets the kaniko build push to a private basic-auth registry (e.g. a Harbor robot), not just WI cloud registries or insecure k3d.

  • New registry_username/registry_password secrets → a basic-auth branch builds a docker config (auths keyed by registry host) and mounts it.
  • Mutually exclusive with the Workload-Identity SA path; k3d insecure path unchanged.

Closes the build-side gap for nonprod=Harbor / prod=cloud registries (promote/bridge across them already works via crane #3). Part of opsta-ai-pe v2.0.

🤖 Generated with Claude Code

…istry)

Add registry_username/password secrets + a basic-auth branch: when no Workload-Identity SA but a
registry password is present, build a docker config (auths keyed by registry host) and mount it so
kaniko can push to a private basic-auth registry (e.g. a Harbor robot). Mutually exclusive with the
WI SA path; k3d insecure path unchanged. Completes the registry-flexibility set: build (this) +
promote/bridge (crane #3) now both speak basic-auth, so nonprod=Harbor / prod=cloud works end-to-end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@gemini-code-assist

Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@winggundamth winggundamth merged commit 78d3cd8 into main Jun 21, 2026
@winggundamth winggundamth deleted the feat/v2.0-kaniko-basic-auth branch June 21, 2026 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants