diff --git a/src/config.go b/src/config.go index 520ccea..4eb70c7 100644 --- a/src/config.go +++ b/src/config.go @@ -111,6 +111,12 @@ func DefaultConfig() *AppConfig { AuthType: "quay", Enabled: true, }, + "registry.k8s.io": { + Upstream: "registry.k8s.io", + AuthHost: "registry.k8s.io", + AuthType: "anonymous", + Enabled: true, + }, }, } } diff --git a/src/config.toml b/src/config.toml index 6e4b5fb..e4696d9 100644 --- a/src/config.toml +++ b/src/config.toml @@ -68,6 +68,13 @@ authHost = "quay.io/v2/auth" authType = "quay" enabled = true +# Kubernetes Container Registry +[registries."registry.k8s.io"] +upstream = "registry.k8s.io" +authHost = "registry.k8s.io" +authType = "anonymous" +enabled = true + # 私有Registry示例(默认禁用) # [registries."harbor.company.com"] # upstream = "harbor.company.com" diff --git a/src/public/index.html b/src/public/index.html index 4708e0e..f6e0f5a 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -409,20 +409,33 @@ - +