5.17. 提取电信 hub 引用设计 CR
您可以从 openshift-telco-hub-rds-rhel9 容器镜像提取电信 hub 配置集的完整自定义资源(CR)集合。容器镜像具有电信 hub 配置集所需的 CR 和可选 CR。
先决条件
-
已安装
podman。
流程
运行以下命令,使用凭证登录到容器镜像 registry:
$ podman login registry.redhat.io运行以下命令,从
openshift-telco-hub-rds-rhel9容器镜像中提取内容:$ mkdir -p ./out$ podman run -it registry.redhat.io/openshift4/openshift-telco-hub-rds-rhel9:v4.19 | base64 -d | tar xv -C out
验证
out目录具有以下目录结构:您可以运行以下命令来查看out/telco-hub-rds/目录中的电信 hub CR:$ tree -L 4 out/telco-hub-rds/输出示例
out/telco-hub-rds/ ├── configuration │ ├── example-overlays-config │ │ ├── acm │ │ │ ├── acmMirrorRegistryCM-patch.yaml │ │ │ ├── kustomization.yaml │ │ │ ├── options-agentserviceconfig-patch.yaml │ │ │ └── storage-mco-patch.yaml │ │ ├── gitops │ │ │ ├── argocd-tls-certs-cm-patch.yaml │ │ │ ├── init-argocd-app.yaml │ │ │ └── kustomization.yaml │ │ ├── logging │ │ │ ├── cluster-log-forwarder-patch.yaml │ │ │ ├── kustomization.yaml │ │ │ └── README.md │ │ ├── lso │ │ │ ├── kustomization.yaml │ │ │ └── local-storage-disks-patch.yaml │ │ ├── odf │ │ │ ├── kustomization.yaml │ │ │ └── options-storage-cluster.yaml │ │ └── registry │ │ ├── catalog-source-image-patch.yaml │ │ ├── idms-operator-mirrors-patch.yaml │ │ ├── idms-release-mirrors-patch.yaml │ │ ├── itms-generic-mirrors-patch.yaml │ │ ├── itms-release-mirrors-patch.yaml │ │ ├── kustomization.yaml │ │ └── registry-ca-patch.yaml │ ├── kustomization.yaml │ ├── README.md │ └── reference-crs │ ├── kustomization.yaml │ ├── optional │ │ ├── logging │ │ ├── lso │ │ └── odf-internal │ └── required │ ├── acm │ ├── gitops │ ├── registry │ └── talm ├── install │ ├── mirror-registry │ │ ├── imageset-config.yaml │ │ └── README.md │ └── openshift │ ├── agent-config.yaml │ └── install-config.yaml └── scripts └── check_current_versions.sh