registrycompat

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2026 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// K3sOverlaySubPath is the kustomize subpath for k3s registry NetworkPolicy compatibility.
	K3sOverlaySubPath = "overlays/compatibility/k3s"
)

Variables

This section is empty.

Functions

func OverlayPath

func OverlayPath(kubectl core.KubectlRunner) string

OverlayPath returns a registry compatibility overlay subpath when the live cluster needs distribution-specific NetworkPolicy rules. Returns empty when base manifests suffice.

func ResolveOverlayPath

func ResolveOverlayPath(manifestPath, overlaySubPath string) string

ResolveOverlayPath resolves an overlay subpath from the active manifest root. Example: config/registry/overlays/tls + overlays/compatibility/k3s -> config/registry/overlays/compatibility/k3s.

Types

This section is empty.

Jump to

Keyboard shortcuts

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