5.17. 通信事業者ハブリファレンス設計の設定 CR の抽出
openshift-telco-hub-rds-rhel9 コンテナーイメージから、通信事業者ハブプロファイルのカスタムリソース (CR) の完全なセットを抽出できます。コンテナーイメージには、通信事業者ハブプロファイルの必須の CR と任意の CR が含まれています。
前提条件
-
podmanをインストールしている。
手順
次のコマンドを実行して、認証情報を使用してコンテナーイメージレジストリーにログオンします。
$ 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.20 | base64 -d | tar xv -C out
検証
outディレクトリーのディレクトリー構造は次のとおりです。次のコマンドを実行すると、out/telco-hub-rds/ディレクトリー内の通信事業者ハブ 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