add zalan.do for PG operator (#276)

* add zalan.do for PG operator
This commit is contained in:
Peter Pan 2022-11-23 13:19:07 +08:00 committed by GitHub
parent c7260e0b87
commit 4a5ebff006
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 3 deletions

View File

@ -32,23 +32,28 @@ docker run -d -P m.daocloud.io/docker.io/library/nginx
[mirror.txt](mirror.txt)
如果想要新增, 提 PR 修改即可。例如 [PR#1](https://github.com/DaoCloud/public-image-mirror/pull/1/)
如果想要新增, 提 PR 修改即可。例如 [PR#1](https://github.com/DaoCloud/public-image-mirror/pull/1/) 并请在 PR 提交前排序: `./hack/fmt.sh mirror.txt`
## 使用方法
*增加前缀*。比如:
## 添加一级域名
**增加前缀** (推荐方式)。比如:
```
k8s.gcr.io/coredns/coredns => m.daocloud.io/k8s.gcr.io/coredns/coredns
```
或者 支持的镜像仓库 的 *前缀替换* 就可以使用。比如:
```
k8s.gcr.io/coredns/coredns => k8s-gcr.m.daocloud.io/coredns/coredns
```
## 支持前缀替换的 Registry
[domain.txt](domain.txt)
如果想要新增, 提 PR 修改即可。例如 [PR#28](https://github.com/DaoCloud/public-image-mirror/pull/28)
如果想要新增, 提 PR 修改即可。例如 [PR#28](https://github.com/DaoCloud/public-image-mirror/pull/28), 并请在 PR 提交前排序:`./hack/fmt.sh domain.txt`
### 前缀替换的 Registry 的规则

View File

@ -9,4 +9,5 @@ nvcr.io/=m.daocloud.io/nvcr.io/
quay.io/=m.daocloud.io/quay.io/
registry.jujucharms.com/=m.daocloud.io/registry.jujucharms.com/
registry.k8s.io/=m.daocloud.io/registry.k8s.io/
registry.opensource.zalan.do/=m.daocloud.io/registry.opensource.zalan.do/
rocks.canonical.com/=m.daocloud.io/rocks.canonical.com/

View File

@ -574,3 +574,7 @@ registry.k8s.io/sig-storage/livenessprobe
registry.k8s.io/sig-storage/local-volume-provisioner
registry.k8s.io/sig-storage/nfs-subdir-external-provisioner
registry.k8s.io/sig-storage/snapshot-controller
registry.opensource.zalan.do/acid/logical-backup
registry.opensource.zalan.do/acid/pgbouncer
registry.opensource.zalan.do/acid/postgres-operator
registry.opensource.zalan.do/acid/spilo-14