Skip to content

cozystack preset: custom registry mirrors via values #229

Description

Problem

The preset hardcodes a single mirror (docker.iohttps://mirror.gcr.io) in both the legacy registries.mirrors block and the multidoc RegistryMirrorConfig. Operators mirroring additional registries (e.g. ghcr.io), or pointing at a private pull-through cache with a custom TLS/insecure setting, must fork the preset.

Proposal

Expose the mirrors via values, driving both the legacy registries block and the RegistryMirrorConfig documents; keep the current gcr mirror as the default:

registryMirrors:
  docker.io: { endpoints: [https://registry.example.com/v2/docker.io] }
  ghcr.io:   { endpoints: [https://registry.example.com/v2/ghcr.io], insecureSkipVerify: true }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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