Skip to content

Deploy images from private registries #325

Closed

Description

@samuelmbabhazi

What

Only public images can be deployed. The control plane resolves tags to digests anonymously and never sends the registry_credentials that PullImage already accepts, so an image from a private registry fails at the digest lookup or at the pull.

Plan (ADR 0019)

  1. Store credentials per organization and registry host, write-only and encrypted, managed by organization administrators.
  2. Use them: an authenticated digest lookup in the resolver, and credentials with an expiry in PullImage. Docker Hub needs a small agent change: the agent reads the first path component as the registry, so it has no name to compare Docker Hub credentials with.
  3. A screen in the organization's settings to add, replace and remove them.

Done when

  • An application whose image is private deploys once credentials for its registry are stored, and fails with a readable reason when they are missing or wrong.
  • No route, log or audit event carries a password.
  • The address policy for registries is unchanged: public HTTPS hosts only. Registries on private networks stay an open question in SPEC 16.

Not in scope

  • Credentials scoped to a project.
  • An allow-list for registries on private networks.

Activity

  1. samuelmbabhazi commented on Nov 17, 2026

    @samuelmbabhazi
    CollaboratorAuthor

    Status: the first two changes are merged (#326 stores the credentials, #328 uses them for the digest lookup and the pull). The screen is in #329 and waits for the maintainer's look. Checked on the installation rig with a password-protected registry and with both the published 0.1.0-alpha.2 agent and the current one (table in #328). Not tested: a successful pull of a private image through a token service (Docker Hub, GHCR), which needs a real account.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions