每个版本的 Config Sync 都需要运行一组特定的进行版本控制的映像。如果您使用的是私有注册表,则必须先拉取、标记这些映像并将其推送到该私有注册表,然后才能安装 Config Sync 组件或升级 Config Sync 版本。
将映像添加到私有存储库
如需将特定于版本的 Config Sync 映像推送到私有注册表,请点击您要使用的版本的加号图标,并完成列出的步骤。
1.18.0
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.18.0-rc.1 docker pull gcr.io/config-management-release/admission-webhook:v1.18.0-rc.3 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.18.0-rc.3 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.13__linux_amd64 docker pull gcr.io/config-management-release/git-sync:v4.2.1-gke.3__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.12 docker pull gcr.io/config-management-release/helm-sync:v1.18.0-rc.3 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.14 docker pull gcr.io/config-management-release/hydration-controller:v1.18.0-rc.3 docker pull gcr.io/config-management-release/monorepo:v1.18.0-rc.1 docker pull gcr.io/config-management-release/oci-sync:v1.18.0-rc.3 docker pull gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.9 docker pull gcr.io/config-management-release/reconciler-manager:v1.18.0-rc.3 docker pull gcr.io/config-management-release/reconciler:v1.18.0-rc.3 docker pull gcr.io/config-management-release/resource-group-controller:v1.18.0-rc.3
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.18.0-rc.1 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.18.0-rc.1 docker tag gcr.io/config-management-release/admission-webhook:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.18.0-rc.3 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.18.0-rc.3 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.13__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.13__linux_amd64 docker tag gcr.io/config-management-release/git-sync:v4.2.1-gke.3__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v4.2.1-gke.3__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.12 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.12 docker tag gcr.io/config-management-release/helm-sync:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.18.0-rc.3 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.14 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.14 docker tag gcr.io/config-management-release/hydration-controller:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.18.0-rc.3 docker tag gcr.io/config-management-release/monorepo:v1.18.0-rc.1 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.18.0-rc.1 docker tag gcr.io/config-management-release/oci-sync:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.18.0-rc.3 docker tag gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.9 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.9 docker tag gcr.io/config-management-release/reconciler-manager:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.18.0-rc.3 docker tag gcr.io/config-management-release/reconciler:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.18.0-rc.3 docker tag gcr.io/config-management-release/resource-group-controller:v1.18.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.18.0-rc.3
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.18.0-rc.1 docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.18.0-rc.1 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.13__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v4.2.1-gke.3__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.12 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.14 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.18.0-rc.1 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.9 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.18.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.18.0-rc.3
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.17.3
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.17.3-rc.2 docker pull gcr.io/config-management-release/admission-webhook:v1.17.3-rc.2 docker pull gcr.io/config-management-release/gatekeeper:anthos1.17.3-aed792f.g0 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.3-rc.2 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.11__linux_amd64 docker pull gcr.io/config-management-release/git-sync:v4.2.1-gke.1__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.11 docker pull gcr.io/config-management-release/helm-sync:v1.17.3-rc.2 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.13 docker pull gcr.io/config-management-release/hydration-controller:v1.17.3-rc.2 docker pull gcr.io/config-management-release/monorepo:v1.17.3-rc.1 docker pull gcr.io/config-management-release/oci-sync:v1.17.3-rc.2 docker pull gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.6 docker pull gcr.io/config-management-release/reconciler-manager:v1.17.3-rc.2 docker pull gcr.io/config-management-release/reconciler:v1.17.3-rc.2 docker pull gcr.io/config-management-release/resource-group-controller:v1.17.3-rc.2
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.3-rc.2 docker tag gcr.io/config-management-release/admission-webhook:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.3-rc.2 docker tag gcr.io/config-management-release/gatekeeper:anthos1.17.3-aed792f.g0 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.3-aed792f.g0 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.3-rc.2 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.11__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.11__linux_amd64 docker tag gcr.io/config-management-release/git-sync:v4.2.1-gke.1__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v4.2.1-gke.1__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.11 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.11 docker tag gcr.io/config-management-release/helm-sync:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.3-rc.2 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.13 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.13 docker tag gcr.io/config-management-release/hydration-controller:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.3-rc.2 docker tag gcr.io/config-management-release/monorepo:v1.17.3-rc.1 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.3-rc.1 docker tag gcr.io/config-management-release/oci-sync:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.3-rc.2 docker tag gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.6 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.6 docker tag gcr.io/config-management-release/reconciler-manager:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.3-rc.2 docker tag gcr.io/config-management-release/reconciler:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.3-rc.2 docker tag gcr.io/config-management-release/resource-group-controller:v1.17.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.3-rc.2
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.3-aed792f.g0 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.11__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v4.2.1-gke.1__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.11 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.13 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.3-rc.1 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.6 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.3-rc.2
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.17.2
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.17.2-rc.1 docker pull gcr.io/config-management-release/admission-webhook:v1.17.2-rc.1 docker pull gcr.io/config-management-release/gatekeeper:anthos1.17.2-aed792f.g1 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.2-rc.1 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.10__linux_amd64 docker pull gcr.io/config-management-release/git-sync:v4.1.0-gke.7__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.11 docker pull gcr.io/config-management-release/helm-sync:v1.17.2-rc.1 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.13 docker pull gcr.io/config-management-release/hydration-controller:v1.17.2-rc.1 docker pull gcr.io/config-management-release/monorepo:v1.17.2-rc.1 docker pull gcr.io/config-management-release/oci-sync:v1.17.2-rc.1 docker pull gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.5 docker pull gcr.io/config-management-release/reconciler-manager:v1.17.2-rc.1 docker pull gcr.io/config-management-release/reconciler:v1.17.2-rc.1 docker pull gcr.io/config-management-release/resource-group-controller:v1.17.2-rc.1
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.2-rc.1 docker tag gcr.io/config-management-release/admission-webhook:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.2-rc.1 docker tag gcr.io/config-management-release/gatekeeper:anthos1.17.2-aed792f.g1 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.2-aed792f.g1 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.2-rc.1 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.10__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.10__linux_amd64 docker tag gcr.io/config-management-release/git-sync:v4.1.0-gke.7__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v4.1.0-gke.7__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.11 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.11 docker tag gcr.io/config-management-release/helm-sync:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.2-rc.1 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.13 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.13 docker tag gcr.io/config-management-release/hydration-controller:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.2-rc.1 docker tag gcr.io/config-management-release/monorepo:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.2-rc.1 docker tag gcr.io/config-management-release/oci-sync:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.2-rc.1 docker tag gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.5 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.5 docker tag gcr.io/config-management-release/reconciler-manager:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.2-rc.1 docker tag gcr.io/config-management-release/reconciler:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.2-rc.1 docker tag gcr.io/config-management-release/resource-group-controller:v1.17.2-rc.1 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.2-rc.1
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.2-aed792f.g1 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.10__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v4.1.0-gke.7__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.11 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.13 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.5 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.2-rc.1 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.2-rc.1
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.17.1
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.17.1-rc.1 docker pull gcr.io/config-management-release/admission-webhook:v1.17.1-rc.2 docker pull gcr.io/config-management-release/gatekeeper:anthos1.17.1-39b5c4a.g1 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.1-rc.2 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.8__linux_amd64 docker pull gcr.io/config-management-release/git-sync:v4.1.0-gke.5__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.11 docker pull gcr.io/config-management-release/helm-sync:v1.17.1-rc.2 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.13 docker pull gcr.io/config-management-release/hydration-controller:v1.17.1-rc.2 docker pull gcr.io/config-management-release/monorepo:v1.17.1-rc.1 docker pull gcr.io/config-management-release/oci-sync:v1.17.1-rc.2 docker pull gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.4 docker pull gcr.io/config-management-release/reconciler-manager:v1.17.1-rc.2 docker pull gcr.io/config-management-release/reconciler:v1.17.1-rc.2 docker pull gcr.io/config-management-release/resource-group-controller:v1.17.1-rc.2
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.17.1-rc.1 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.1-rc.1 docker tag gcr.io/config-management-release/admission-webhook:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.1-rc.2 docker tag gcr.io/config-management-release/gatekeeper:anthos1.17.1-39b5c4a.g1 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.1-39b5c4a.g1 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.1-rc.2 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.8__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.8__linux_amd64 docker tag gcr.io/config-management-release/git-sync:v4.1.0-gke.5__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v4.1.0-gke.5__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.11 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.11 docker tag gcr.io/config-management-release/helm-sync:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.1-rc.2 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.13 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.13 docker tag gcr.io/config-management-release/hydration-controller:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.1-rc.2 docker tag gcr.io/config-management-release/monorepo:v1.17.1-rc.1 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.1-rc.1 docker tag gcr.io/config-management-release/oci-sync:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.1-rc.2 docker tag gcr.io/config-management-release/otelcontribcol:v0.91.0-gke.4 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.4 docker tag gcr.io/config-management-release/reconciler-manager:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.1-rc.2 docker tag gcr.io/config-management-release/reconciler:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.1-rc.2 docker tag gcr.io/config-management-release/resource-group-controller:v1.17.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.1-rc.2
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.1-rc.1 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.1-39b5c4a.g1 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.8__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v4.1.0-gke.5__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.11 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.13 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.1-rc.1 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.91.0-gke.4 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.1-rc.2
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.17.0
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.17.0-rc.1 docker pull gcr.io/config-management-release/admission-webhook:v1.17.0-rc.4 docker pull gcr.io/config-management-release/gatekeeper:anthos1.17.0-2055dcc.g1 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.0-rc.4 docker pull gcr.io/config-management-release/git-sync:v4.1.0-gke.2__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.10 docker pull gcr.io/config-management-release/helm-sync:v1.17.0-rc.4 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.12 docker pull gcr.io/config-management-release/hydration-controller:v1.17.0-rc.4 docker pull gcr.io/config-management-release/monorepo:v1.17.0-rc.2 docker pull gcr.io/config-management-release/oci-sync:v1.17.0-rc.4 docker pull gcr.io/config-management-release/otelcontribcol:v0.89.0-gke.1 docker pull gcr.io/config-management-release/reconciler-manager:v1.17.0-rc.4 docker pull gcr.io/config-management-release/reconciler:v1.17.0-rc.4 docker pull gcr.io/config-management-release/resource-group-controller:v1.17.0-rc.4
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.17.0-rc.1 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.0-rc.1 docker tag gcr.io/config-management-release/admission-webhook:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.0-rc.4 docker tag gcr.io/config-management-release/gatekeeper:anthos1.17.0-2055dcc.g1 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.0-2055dcc.g1 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.0-rc.4 docker tag gcr.io/config-management-release/git-sync:v4.1.0-gke.2__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v4.1.0-gke.2__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.10 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.10 docker tag gcr.io/config-management-release/helm-sync:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.0-rc.4 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.12 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.12 docker tag gcr.io/config-management-release/hydration-controller:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.0-rc.4 docker tag gcr.io/config-management-release/monorepo:v1.17.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.0-rc.2 docker tag gcr.io/config-management-release/oci-sync:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.0-rc.4 docker tag gcr.io/config-management-release/otelcontribcol:v0.89.0-gke.1 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.89.0-gke.1 docker tag gcr.io/config-management-release/reconciler-manager:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.0-rc.4 docker tag gcr.io/config-management-release/reconciler:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.0-rc.4 docker tag gcr.io/config-management-release/resource-group-controller:v1.17.0-rc.4 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.0-rc.4
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.17.0-rc.1 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.17.0-2055dcc.g1 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v4.1.0-gke.2__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.10 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.12 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.17.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.89.0-gke.1 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.17.0-rc.4 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.17.0-rc.4
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.16.3
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.16.3-rc.4 docker pull gcr.io/config-management-release/admission-webhook:v1.16.3-rc.3 docker pull gcr.io/config-management-release/gatekeeper:anthos1.16.3-a1f01f4.g0 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.16.3-rc.3 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.5__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.10 docker pull gcr.io/config-management-release/helm-sync:v1.16.3-rc.3 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.11 docker pull gcr.io/config-management-release/hydration-controller:v1.16.3-rc.3 docker pull gcr.io/config-management-release/monorepo:v1.16.3-rc.2 docker pull gcr.io/config-management-release/oci-sync:v1.16.3-rc.3 docker pull gcr.io/config-management-release/otelcontribcol:v0.87.0-gke.1 docker pull gcr.io/config-management-release/reconciler-manager:v1.16.3-rc.3 docker pull gcr.io/config-management-release/reconciler:v1.16.3-rc.3 docker pull gcr.io/config-management-release/resource-group-controller:v1.0.20
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.16.3-rc.4 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.3-rc.4 docker tag gcr.io/config-management-release/admission-webhook:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.3-rc.3 docker tag gcr.io/config-management-release/gatekeeper:anthos1.16.3-a1f01f4.g0 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.3-a1f01f4.g0 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.16.3-rc.3 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.5__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.5__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.10 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.10 docker tag gcr.io/config-management-release/helm-sync:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.3-rc.3 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.11 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.11 docker tag gcr.io/config-management-release/hydration-controller:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.3-rc.3 docker tag gcr.io/config-management-release/monorepo:v1.16.3-rc.2 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.3-rc.2 docker tag gcr.io/config-management-release/oci-sync:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.3-rc.3 docker tag gcr.io/config-management-release/otelcontribcol:v0.87.0-gke.1 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.87.0-gke.1 docker tag gcr.io/config-management-release/reconciler-manager:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.3-rc.3 docker tag gcr.io/config-management-release/reconciler:v1.16.3-rc.3 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.3-rc.3 docker tag gcr.io/config-management-release/resource-group-controller:v1.0.20 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.20
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.3-rc.4 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.3-a1f01f4.g0 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.5__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.10 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.11 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.3-rc.2 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.87.0-gke.1 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.3-rc.3 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.20
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.16.2
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.16.2-rc.2 docker pull gcr.io/config-management-release/admission-webhook:v1.16.2-rc.2 docker pull gcr.io/config-management-release/gatekeeper:anthos1.16.2-3e66ee2.g0 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.16.2-rc.2 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.3__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.8 docker pull gcr.io/config-management-release/helm-sync:v1.16.2-rc.2 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.9 docker pull gcr.io/config-management-release/hydration-controller:v1.16.2-rc.2 docker pull gcr.io/config-management-release/monorepo:v1.16.2-rc.3 docker pull gcr.io/config-management-release/oci-sync:v1.16.2-rc.2 docker pull gcr.io/config-management-release/otelcontribcol:v0.86.0-gke.1 docker pull gcr.io/config-management-release/reconciler-manager:v1.16.2-rc.2 docker pull gcr.io/config-management-release/reconciler:v1.16.2-rc.2 docker pull gcr.io/config-management-release/resource-group-controller:v1.0.17
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.2-rc.2 docker tag gcr.io/config-management-release/admission-webhook:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.2-rc.2 docker tag gcr.io/config-management-release/gatekeeper:anthos1.16.2-3e66ee2.g0 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.2-3e66ee2.g0 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.16.2-rc.2 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.3__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.3__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.8 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.8 docker tag gcr.io/config-management-release/helm-sync:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.2-rc.2 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.9 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.9 docker tag gcr.io/config-management-release/hydration-controller:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.2-rc.2 docker tag gcr.io/config-management-release/monorepo:v1.16.2-rc.3 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.2-rc.3 docker tag gcr.io/config-management-release/oci-sync:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.2-rc.2 docker tag gcr.io/config-management-release/otelcontribcol:v0.86.0-gke.1 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.86.0-gke.1 docker tag gcr.io/config-management-release/reconciler-manager:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.2-rc.2 docker tag gcr.io/config-management-release/reconciler:v1.16.2-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.2-rc.2 docker tag gcr.io/config-management-release/resource-group-controller:v1.0.17 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.17
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.2-3e66ee2.g0 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.3__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.8 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.9 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.2-rc.3 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.86.0-gke.1 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.2-rc.2 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.17
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.16.1
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.16.1-rc.1 docker pull gcr.io/config-management-release/admission-webhook:v1.16.1-rc.2 docker pull gcr.io/config-management-release/gatekeeper:anthos1.16.1-e50ee2f.g0 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.0.4 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.1__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.7 docker pull gcr.io/config-management-release/helm-sync:v1.16.1-rc.2 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.8 docker pull gcr.io/config-management-release/hydration-controller:v1.16.1-rc.2 docker pull gcr.io/config-management-release/monorepo:v1.16.1-rc.2 docker pull gcr.io/config-management-release/oci-sync:v1.16.1-rc.2 docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0-gke.1 docker pull gcr.io/config-management-release/reconciler-manager:v1.16.1-rc.2 docker pull gcr.io/config-management-release/reconciler:v1.16.1-rc.2 docker pull gcr.io/config-management-release/resource-group-controller:v1.0.16
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.16.1-rc.1 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.1-rc.1 docker tag gcr.io/config-management-release/admission-webhook:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.1-rc.2 docker tag gcr.io/config-management-release/gatekeeper:anthos1.16.1-e50ee2f.g0 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.1-e50ee2f.g0 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.0.4 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.0.4 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.1__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.1__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.7 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.7 docker tag gcr.io/config-management-release/helm-sync:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.1-rc.2 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.8 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.8 docker tag gcr.io/config-management-release/hydration-controller:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.1-rc.2 docker tag gcr.io/config-management-release/monorepo:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.1-rc.2 docker tag gcr.io/config-management-release/oci-sync:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.1-rc.2 docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0-gke.1 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0-gke.1 docker tag gcr.io/config-management-release/reconciler-manager:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.1-rc.2 docker tag gcr.io/config-management-release/reconciler:v1.16.1-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.1-rc.2 docker tag gcr.io/config-management-release/resource-group-controller:v1.0.16 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.16
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.1-rc.1 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.1-e50ee2f.g0 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.0.4 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.1__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.7 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.8 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0-gke.1 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.1-rc.2 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.16
如果您可以从私有存储库中拉取标记的映像,则过程已成功。
1.16.0
如需将映像添加到私有存储库,请完成以下步骤:
-
拉取 Config Sync 映像:
docker pull gcr.io/config-management-release/config-management-operator:v1.16.0-rc.3 docker pull gcr.io/config-management-release/admission-webhook:v1.16.0-rc.2 docker pull gcr.io/config-management-release/gatekeeper:anthos1.16.0-616aa8f.g0 docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.0.3 docker pull gcr.io/config-management-release/git-sync:v3.6.6-gke.3__linux_amd64 docker pull gcr.io/config-management-release/git-sync:v3.6.9-gke.0__linux_amd64 docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.6 docker pull gcr.io/config-management-release/helm-sync:v1.16.0-rc.2 docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.7 docker pull gcr.io/config-management-release/hydration-controller:v1.16.0-rc.2 docker pull gcr.io/config-management-release/monorepo:v1.16.0-rc.1 docker pull gcr.io/config-management-release/oci-sync:v1.16.0-rc.2 docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0-gke.1 docker pull gcr.io/config-management-release/reconciler-manager:v1.16.0-rc.2 docker pull gcr.io/config-management-release/reconciler:v1.16.0-rc.2 docker pull gcr.io/config-management-release/resource-group-controller:v1.0.14
-
为私有注册表网址创建变量:
export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
将PRIVATE_REGISTRY_URL
替换为您的私有注册表网址。 -
使用您的私有注册表网址标记映像:
docker tag gcr.io/config-management-release/config-management-operator:v1.16.0-rc.3 \ ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.0-rc.3 docker tag gcr.io/config-management-release/admission-webhook:v1.16.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.0-rc.2 docker tag gcr.io/config-management-release/gatekeeper:anthos1.16.0-616aa8f.g0 \ ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.0-616aa8f.g0 docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.0.3 \ ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.0.3 docker tag gcr.io/config-management-release/git-sync:v3.6.6-gke.3__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.3__linux_amd64 docker tag gcr.io/config-management-release/git-sync:v3.6.9-gke.0__linux_amd64 \ ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.0__linux_amd64 docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.6 \ ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.6 docker tag gcr.io/config-management-release/helm-sync:v1.16.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.0-rc.2 docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.7 \ ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.7 docker tag gcr.io/config-management-release/hydration-controller:v1.16.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.0-rc.2 docker tag gcr.io/config-management-release/monorepo:v1.16.0-rc.1 \ ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.0-rc.1 docker tag gcr.io/config-management-release/oci-sync:v1.16.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.0-rc.2 docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0-gke.1 \ ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0-gke.1 docker tag gcr.io/config-management-release/reconciler-manager:v1.16.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.0-rc.2 docker tag gcr.io/config-management-release/reconciler:v1.16.0-rc.2 \ ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.0-rc.2 docker tag gcr.io/config-management-release/resource-group-controller:v1.0.14 \ ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.14
- 将带有标记的映像推送到您的私有注册表:
docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.16.0-rc.3 docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.16.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.16.0-616aa8f.g0 docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.0.3 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.3__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.9-gke.0__linux_amd64 docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.6 docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.16.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.7 docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.16.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.16.0-rc.1 docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.16.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0-gke.1 docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.16.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.16.0-rc.2 docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.14
如果您可以从私有存储库中拉取标记的映像,则过程已成功。