Skip to content

fix(registryinfo): set registry mode to empty by default#1330

Merged
emoskito merged 3 commits intomainfrom
1329_implicit-external
Feb 23, 2026
Merged

fix(registryinfo): set registry mode to empty by default#1330
emoskito merged 3 commits intomainfrom
1329_implicit-external

Conversation

@brandtkeller
Copy link
Copy Markdown
Member

Description

uds-cli sets RegistryInfo.RegistryMode to nodeport by default. If a user is unaware of the explicit requirement to set INIT_REGISTRY_MODE to external in the event they want to use an external registry - then this will fail even if url/creds are set appropriately.

Zarf performs additional checks when RegistryMode is an empty string to determine if it is internal or external. We should be able to remove this default assumption while still supporting those who want to set this explicitly.

Slightly difficult to test - as you need an external registry that you can push to. I recently configured one locally but building this into the bug fix would take more time. We should file an additional issue for this testing infrastructure.

Related Issue

Fixes #1329

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

Signed-off-by: Brandt Keller <brandt.keller@defenseunicorns.com>
@brandtkeller brandtkeller self-assigned this Feb 23, 2026
@brandtkeller brandtkeller requested a review from a team as a code owner February 23, 2026 18:20
brandtkeller and others added 2 commits February 23, 2026 11:24
Signed-off-by: Brandt Keller <brandt.keller@defenseunicorns.com>
@emoskito emoskito merged commit 8c3bcc1 into main Feb 23, 2026
20 checks passed
@emoskito emoskito deleted the 1329_implicit-external branch February 23, 2026 19:59
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.

Unable to deploy using external registry implicitly

2 participants