Documentation
¶
Overview ¶
Package registryauth signs short-lived Distribution registry access tokens.
Index ¶
Constants ¶
View Source
const Issuer = "mcp-runtime-registry-auth"
View Source
const Lifetime = 5 * time.Minute
View Source
const Service = "mcp-runtime-registry"
Variables ¶
This section is empty.
Functions ¶
func GenerateMaterial ¶
func SharedPullRepositories ¶
func SharedPullRepositories() []string
SharedPullRepositories are the platform-owned repositories every namespace's node pull credential may read, in addition to the repositories the namespace already uses: the gateway sidecar image, and the doctor smoke image that `cluster doctor` and `cluster diagnostics` run inside tenant namespaces. Without the smoke image those checks are forbidden by the registry broker on installs that enforce scoped pull credentials.
Types ¶
type PullScope ¶
type PullScope struct {
Namespace string `json:"namespace"`
Repositories []string `json:"repositories"`
Prefixes []string `json:"prefixes"`
}
PullScope limits a node credential independently of platform API privileges.
Click to show internal directories.
Click to hide internal directories.