获取 CASE 捆绑软件
获取 CASE 捆绑软件。
程序
- 导出环境变量并创建本地目录。对于 Guardium ® Insights 3.2.10 和更高版本:
指定适用于您正在部署的 Guardium Insights 版本的export CASE_NAME=ibm-guardium-insights export CASE_VERSION=<CASE VERSION> export LOCAL_CASE_DIR=$HOME/.ibm-pak/data/cases/$CASE_NAME/$CASE_VERSIONCASE_VERSION。 例如, Guardium Insights 3.2.10 需要CASE_VERSION2.2.10。 有关更多信息,请参阅 Container Application Software for Enterprises (CASE) 版本支持。对于 Guardium Insights 3.2.8 和更低版本:- 为安装创建本地目录:
export LOCAL_INSTALL_DIR=$HOME/guardium-insights mkdir $LOCAL_INSTALL_DIR - 为 CASE 捆绑软件创建本地目录:
export LOCAL_CASE_DIR=$LOCAL_INSTALL_DIR/local_case mkdir $LOCAL_CASE_DIR - 指定适用于您正在部署的 Guardium Insights 版本的
CASE_VERSION。 例如, Guardium Insights 3.2.0 需要CASE_VERSION2.2.0。 有关更多信息,请参阅 Container Application Software for Enterprises (CASE) 版本支持。export CASE_VERSION=<CASE_VERSION> export CASE_ARCHIVE=ibm-guardium-insights-$CASE_VERSION.tgz其中, CASE 版本 (
<CASE_VERSION>) 是 Guardium Insights 部署的新版本,<CASE_ARCHIVE>是包含新 CASE 版本的 CASE 文件名。 CASE 版本在 Container Application Software for Enterprises (CASE) 版本支持中进行了说明。
- 为安装创建本地目录:
- 在本地保存 CASE 捆绑软件。对于 Guardium Insights 3.2.10 和更高版本:
oc ibm-pak get $CASE_NAME \ --version $CASE_VERSION \ --skip-verify对于 Guardium Insights 3.2.8 和更低版本:cloudctl case save \ --case https://github.com/IBM/cloud-pak/raw/master/repo/case/ibm-guardium-insights/$CASE_VERSION/$CASE_ARCHIVE \ --outputdir $LOCAL_CASE_DIR --tolerance 1注: 如果迂到类似于以下内容的错误:
您可能迂到与远程存储库的临时通信问题。 请等待几分钟并重试。No Case registries found for case ibm-cert-manager->=1.3.0 <1.3.1.tgz with the given repository URL information FAILED