Skip to content

Default registry prefix duplication & potential future clash #1003

@Catalin-Stratulat-Ericsson

Description

This was a valid point brought up by a copilot review in PR

defaultRegistry in podevaluator.go hard-codes the catalog prefix, but image prefixing elsewhere is driven by --default-image-prefix/runneroptions.GHCRImagePrefix. To avoid config drift (and ensure the “default registry” auth/TLS behavior stays aligned with the actual prefix in use).

We should consider deriving this from runneroptions.GHCRImagePrefix or wiring the configured DefaultImagePrefix into the auth checks in podManager instead of duplicating the string literal here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions