使用私有注册表更新 Config Sync

每个版本的 Config Sync 都需要一组特定的带版本号的映像才能运行。如果您使用的是私有注册表,则必须先拉取、标记这些映像并将其推送到私有注册表,然后才能安装 Config Sync 组件升级 Config Sync 版本

将映像添加到私有存储库

如需将特定于版本的 Config Sync 映像推送到私有注册表,请点击您要使用的版本的加号图标,然后完成列出的步骤。

1.17.2

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  4. 将带有标记的映像推送到您的私有注册表:
    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

如需将映像添加到私有存储库,请完成以下步骤:

  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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  4. 将带有标记的映像推送到您的私有注册表:
    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

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  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

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  4. 将带有标记的映像推送到您的私有注册表:
    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

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  4. 将带有标记的映像推送到您的私有注册表:
    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

如需将映像添加到私有存储库,请完成以下步骤:

  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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  4. 将带有标记的映像推送到您的私有注册表:
    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

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 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
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    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
    
  4. 将带有标记的映像推送到您的私有注册表:
    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
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.15.3

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Config Sync 映像:
    docker pull gcr.io/config-management-release/config-management-operator:v1.15.3-rc.2
    docker pull gcr.io/config-management-release/admission-webhook:v1.15.3-rc.2
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.15.3-6aad7b6.g0
    docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:v1.0.2
    docker pull gcr.io/config-management-release/git-sync:v3.6.6-gke.2__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.4
    docker pull gcr.io/config-management-release/helm-sync:v1.15.3-rc.2
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.5
    docker pull gcr.io/config-management-release/hydration-controller:v1.15.3-rc.2
    docker pull gcr.io/config-management-release/monorepo:v1.15.3-rc.1
    docker pull gcr.io/config-management-release/oci-sync:v1.15.3-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.15.3-rc.2
    docker pull gcr.io/config-management-release/reconciler:v1.15.3-rc.2
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.13
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:v1.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.15.3-rc.2
    docker tag gcr.io/config-management-release/admission-webhook:v1.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.3-rc.2
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.15.3-6aad7b6.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.3-6aad7b6.g0
    docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:v1.0.2 \
     ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.0.2
    docker tag gcr.io/config-management-release/git-sync:v3.6.6-gke.2__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.2__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.4 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.4
    docker tag gcr.io/config-management-release/helm-sync:v1.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.3-rc.2
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.5 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.5
    docker tag gcr.io/config-management-release/hydration-controller:v1.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.3-rc.2
    docker tag gcr.io/config-management-release/monorepo:v1.15.3-rc.1 \
     ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.3-rc.1
    docker tag gcr.io/config-management-release/oci-sync:v1.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.3-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.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.3-rc.2
    docker tag gcr.io/config-management-release/reconciler:v1.15.3-rc.2 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.3-rc.2
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.13 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.13
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.3-6aad7b6.g0
    docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:v1.0.2
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.2__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.4
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.5
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.3-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0-gke.1
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.3-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.13
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.15.2

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Config Sync 映像:
    docker pull gcr.io/config-management-release/config-management-operator:v1.15.2-rc.4
    docker pull gcr.io/config-management-release/admission-webhook:v1.15.2-rc.3
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.15.2-cac4f35.g0
    docker pull gcr.io/config-management-release/git-sync:v3.6.6-gke.2__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.4
    docker pull gcr.io/config-management-release/helm-sync:v1.15.2-rc.3
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.5
    docker pull gcr.io/config-management-release/hydration-controller:v1.15.2-rc.3
    docker pull gcr.io/config-management-release/monorepo:v1.15.2-rc.2
    docker pull gcr.io/config-management-release/oci-sync:v1.15.2-rc.3
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.15.2-rc.3
    docker pull gcr.io/config-management-release/reconciler:v1.15.2-rc.3
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.12
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:v1.15.2-rc.4 \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.15.2-rc.4
    docker tag gcr.io/config-management-release/admission-webhook:v1.15.2-rc.3 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.2-rc.3
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.15.2-cac4f35.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.2-cac4f35.g0
    docker tag gcr.io/config-management-release/git-sync:v3.6.6-gke.2__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.2__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.4 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.4
    docker tag gcr.io/config-management-release/helm-sync:v1.15.2-rc.3 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.2-rc.3
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.5 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.5
    docker tag gcr.io/config-management-release/hydration-controller:v1.15.2-rc.3 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.2-rc.3
    docker tag gcr.io/config-management-release/monorepo:v1.15.2-rc.2 \
     ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.2-rc.2
    docker tag gcr.io/config-management-release/oci-sync:v1.15.2-rc.3 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.2-rc.3
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.15.2-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.2-rc.3
    docker tag gcr.io/config-management-release/reconciler:v1.15.2-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.2-rc.3
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.12 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.12
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:v1.15.2-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.2-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.2-cac4f35.g0
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.2__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.4
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.2-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.5
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.2-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.2-rc.2
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.2-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.2-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.2-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.12
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.15.1

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Config Sync 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20230510165643-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.15.1-rc.3
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.15.1-7caa6a4.g0
    docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:20230410212312
    docker pull gcr.io/config-management-release/git-sync:v3.6.6-gke.0__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/helm-sync:v1.15.1-rc.3
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.15.1-rc.3
    docker pull gcr.io/config-management-release/monorepo:v1.15.1-rc.4
    docker pull gcr.io/config-management-release/oci-sync:v1.15.1-rc.3
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.15.1-rc.3
    docker pull gcr.io/config-management-release/reconciler:v1.15.1-rc.3
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.9
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20230510165643-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20230510165643-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.15.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.1-rc.3
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.15.1-7caa6a4.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.1-7caa6a4.g0
    docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:20230410212312 \
     ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:20230410212312
    docker tag gcr.io/config-management-release/git-sync:v3.6.6-gke.0__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.0__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/helm-sync:v1.15.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.1-rc.3
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.15.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.1-rc.3
    docker tag gcr.io/config-management-release/monorepo:v1.15.1-rc.4 \
     ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.1-rc.4
    docker tag gcr.io/config-management-release/oci-sync:v1.15.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.1-rc.3
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.15.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.1-rc.3
    docker tag gcr.io/config-management-release/reconciler:v1.15.1-rc.3 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.1-rc.3
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.9 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20230510165643-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.1-7caa6a4.g0
    docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:20230410212312
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.6-gke.0__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.1-rc.4
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.1-rc.3
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。

1.15.0

如需将映像添加到私有存储库,请完成以下步骤:

  1. 拉取 Config Sync 映像:
    docker pull gcr.io/config-management-release/config-management-operator:20230414175539-op
    docker pull gcr.io/config-management-release/admission-webhook:v1.15.0-rc.6
    docker pull gcr.io/config-management-release/gatekeeper:anthos1.15.0-effa347.g0
    docker pull gcr.io/config-management-release/gcenode-askpass-sidecar:20230410212312
    docker pull gcr.io/config-management-release/git-sync:v3.6.4-gke.1__linux_amd64
    docker pull gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2
    docker pull gcr.io/config-management-release/helm-sync:v1.15.0-rc.6
    docker pull gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3
    docker pull gcr.io/config-management-release/hydration-controller:v1.15.0-rc.6
    docker pull gcr.io/config-management-release/monorepo:v1.15.0-rc.1
    docker pull gcr.io/config-management-release/oci-sync:v1.15.0-rc.6
    docker pull gcr.io/config-management-release/otelcontribcol:v0.54.0
    docker pull gcr.io/config-management-release/reconciler-manager:v1.15.0-rc.6
    docker pull gcr.io/config-management-release/reconciler:v1.15.0-rc.6
    docker pull gcr.io/config-management-release/resource-group-controller:v1.0.9
    
  2. 为私有注册表网址创建变量:
    export PRIVATE_REGISTRY_URL=PRIVATE_REGISTRY_URL
    
    PRIVATE_REGISTRY_URL 替换为您的私有注册表网址。
  3. 使用您的私有注册表网址标记映像:
    docker tag gcr.io/config-management-release/config-management-operator:20230414175539-op \
     ${PRIVATE_REGISTRY_URL}/config-management-operator:20230414175539-op
    docker tag gcr.io/config-management-release/admission-webhook:v1.15.0-rc.6 \
     ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.0-rc.6
    docker tag gcr.io/config-management-release/gatekeeper:anthos1.15.0-effa347.g0 \
     ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.0-effa347.g0
     docker tag gcr.io/config-management-release/gcenode-askpass-sidecar:20230410212312 \
     ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:20230410212312
    docker tag gcr.io/config-management-release/git-sync:v3.6.4-gke.1__linux_amd64 \
     ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.4-gke.1__linux_amd64
    docker tag gcr.io/config-management-release/gke-hc-manager:v0.11.0-hc.2 \
     ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker tag gcr.io/config-management-release/helm-sync:v1.15.0-rc.6 \
     ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.0-rc.6
    docker tag gcr.io/config-management-release/hnc-manager:hnc-v0.8.0-hc.3 \
     ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker tag gcr.io/config-management-release/hydration-controller:v1.15.0-rc.6 \
     ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.0-rc.6
    docker tag gcr.io/config-management-release/monorepo:v1.15.0-rc.1 \
     ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.0-rc.1
    docker tag gcr.io/config-management-release/oci-sync:v1.15.0-rc.6 \
     ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.0-rc.6
    docker tag gcr.io/config-management-release/otelcontribcol:v0.54.0 \
     ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker tag gcr.io/config-management-release/reconciler-manager:v1.15.0-rc.6 \
     ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.0-rc.6
    docker tag gcr.io/config-management-release/reconciler:v1.15.0-rc.6 \
     ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.0-rc.6
    docker tag gcr.io/config-management-release/resource-group-controller:v1.0.9 \
     ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    
  4. 将带有标记的映像推送到您的私有注册表:
    docker push ${PRIVATE_REGISTRY_URL}/config-management-operator:20230414175539-op
    docker push ${PRIVATE_REGISTRY_URL}/admission-webhook:v1.15.0-rc.6
    docker push ${PRIVATE_REGISTRY_URL}/gatekeeper:anthos1.15.0-effa347.g0
    docker push ${PRIVATE_REGISTRY_URL}/gcenode-askpass-sidecar:20230410212312
    docker push ${PRIVATE_REGISTRY_URL}/git-sync:v3.6.4-gke.1__linux_amd64
    docker push ${PRIVATE_REGISTRY_URL}/gke-hc-manager:v0.11.0-hc.2
    docker push ${PRIVATE_REGISTRY_URL}/helm-sync:v1.15.0-rc.6
    docker push ${PRIVATE_REGISTRY_URL}/hnc-manager:hnc-v0.8.0-hc.3
    docker push ${PRIVATE_REGISTRY_URL}/hydration-controller:v1.15.0-rc.6
    docker push ${PRIVATE_REGISTRY_URL}/monorepo:v1.15.0-rc.1
    docker push ${PRIVATE_REGISTRY_URL}/oci-sync:v1.15.0-rc.6
    docker push ${PRIVATE_REGISTRY_URL}/otelcontribcol:v0.54.0
    docker push ${PRIVATE_REGISTRY_URL}/reconciler-manager:v1.15.0-rc.6
    docker push ${PRIVATE_REGISTRY_URL}/reconciler:v1.15.0-rc.6
    docker push ${PRIVATE_REGISTRY_URL}/resource-group-controller:v1.0.9
    

如果您可以从私有存储库中拉取标记的映像,则过程已成功。