Skip to content

Unable to deploy using external registry implicitly #1329

@brandtkeller

Description

@brandtkeller

Steps to reproduce

  1. Create a zarf init package containing only the agent component
  2. Create a bundle with said init package
  3. deploy bundle with an external registry
# zarf.yaml
 kind: ZarfInitConfig
metadata:
  name: zarf-init
  version: v0.71.1-agent-only
  description: Used to establish a new Zarf cluster

components:
  - name: zarf-agent
    required: true
    import:
      url: oci://ghcr.io/zarf-dev/packages/init:v0.71.1
# uds-bundle.yaml
kind: UDSBundle
metadata:
  name: uds-init
  description: init deps
  version: 0.1.0

packages:
  - name: zarf-init
    path: ../zarf-init-arm64-v0.71.1-agent-only.tar.zst
    ref: v0.71.1-agent-only

Expected result

use of external registry works as expected and bundle deploys successfully.

Actual Result

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
  ✔  Loaded bundled Zarf package: zarf-init                                                                                                                                                                                                                                                                                       
2026-02-23 10:06:11 INF starting deploy package=zarf-init
2026-02-23 10:06:11 INF waiting for cluster connection
2026-02-23 10:06:13 INF deploying component name=zarf-agent
     ERROR:  failed to deploy bundle: unable to deploy component "zarf-agent": unable to push images to the registry: All attempts fail:
             #1: All attempts fail:
             #1: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #2: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #3: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #4: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #5: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #6: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #2: All attempts fail:
             #1: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #2: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #3: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #4: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #5: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #6: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #3: All attempts fail:
             #1: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #2: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #3: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #4: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #5: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found
             #6: unable to find pod attached to given resource: unable to find the service: services "zarf-docker-registry" not found

Visual Proof (screenshots, videos, text, etc)

Severity/Priority

Medium

Additional Context

This could be worked-around by setting the registry mode variable to external

variables:
  zarf-init:
    INIT_REGISTRY_URL: "registry.localhost:5001"
    INIT_REGISTRY_MODE: "external"

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible-bugSomething may not be working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions