feat(catalogue,helm,ci): add private OCI auth, offline catalogue mirror, CI image/SBOM, metrics config, and OpenShift overlay (#2153)

This commit is contained in:
sam committed 2026-11-27 22:13:30 +11:00
1 parent dd38d93a29
commit fdfcbab4bd
23 files changed
+1095 -12

No files matched your search

+17
View File
@@ -85,6 +85,23 @@ func (m *Module) UseRemotes(cfg RemoteConfig) error {
return m.host.UseRemotes(cfg)
}
// CatalogueAuth configures private OCI registry authentication for fetching
// the extension catalogue and artifacts.
type CatalogueAuth = catalogue.RegistryAuth
// UseCatalogueAuth configures private OCI registry authentication for the
// catalogue fetcher.
func (m *Module) UseCatalogueAuth(cfg CatalogueAuth) error {
credFn, err := cfg.CredentialFunc()
if err != nil {
return err
}
m.pkgMu.Lock()
m.fetcher.Auth = credFn
m.pkgMu.Unlock()
return nil
}
// UseDefaultCatalogue overrides the fallback extension catalogue source used
// when the control plane has not set a custom location.
func (m *Module) UseDefaultCatalogue(location, publicKey string) error {