Skip to content

Fix container registry credentials not passed when rhsm is disabled#240

Open
mandre wants to merge 1 commit into
mainfrom
registry-creds
Open

Fix container registry credentials not passed when rhsm is disabled#240
mandre wants to merge 1 commit into
mainfrom
registry-creds

Conversation

@mandre

@mandre mandre commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

ContainerImageRegistryCredentials and ContainerImageRegistryLogin were gated behind {% if rhsm_enabled %}, so when using the rhos-release path they were never rendered into standalone_parameters.yaml. This caused TripleO to fail pulling container images with an authentication error, even though podman login succeeded separately.

Decouple the credentials block from rhsm_enabled and gate it on registers being defined instead, so credentials are passed to TripleO whenever registries are configured regardless of subscription method.

ContainerImageRegistryCredentials and ContainerImageRegistryLogin were
gated behind {% if rhsm_enabled %}, so when using the rhos-release path
they were never rendered into standalone_parameters.yaml. This caused
TripleO to fail pulling container images with an authentication error,
even though podman login succeeded separately.

Decouple the credentials block from rhsm_enabled and gate it on
registers being defined instead, so credentials are passed to TripleO
whenever registries are configured regardless of subscription method.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant