mirror

package
v1.64.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mirror provides a single source of truth for container images that the machine-controller mirrors from upstream registries to quay.io/kubermatic-mirror. Providers import this package and call Image(key) to resolve a manifest key to its fully qualified, digest-pinned reference in the mirror.

To add or update an image:

  1. Edit pkg/mirror/mirror-images.yaml.
  2. Reference the key from the provider code via mirror.Image("<key>").
  3. On merge to main, the post-machine-controller-mirror-images postsubmit pushes the image to the mirror registry.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Image

func Image(key string) string

Image returns the fully qualified, digest-pinned mirror reference for the given manifest key. Panics if the key is missing -- this is a programming error and provisioning with a wrong image is a worse failure mode than crashing at process start.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL