2.6. 以不安全的模式在 RHV 上安装 OpenShift Container Platform 默认情况下,安装程序会创建一个 CA 证书,提示您确认并保存在安装过程中要使用的证书。您不需要手动创建或安装。 虽然不建议您这样做,但您可以覆盖此功能并在不验证证书的情况下安装 OpenShift Container Platform,方法是以 不安全的 模式在 RHV 上安装 OpenShift Container Platform。 警告 不 建议使用不安全 模式安装,因为它可让潜在的攻击者执行 Man-in-the-Middle 攻击并在网络中捕获敏感凭证。 流程 创建名为 ~/.ovirt/ovirt-config.yaml 的文件。 在 ovirt-config.yaml 中添加以下内容: ovirt_url: https://ovirt.example.com/ovirt-engine/api ovirt_fqdn: ovirt.example.com ovirt_pem_url: "" ovirt_username: ocpadmin@internal ovirt_password: super-secret-password ovirt_insecure: true ovirt_url: https://ovirt.example.com/ovirt-engine/api 1 ovirt_fqdn: ovirt.example.com 2 ovirt_pem_url: "" ovirt_username: ocpadmin@internal ovirt_password: super-secret-password 3 ovirt_insecure: true Copy to Clipboard Copied! Toggle word wrap Toggle overflow 1 指定 oVirt 引擎的主机名或地址。 2 指定 oVirt 引擎的完全限定域名。 3 指定 oVirt 引擎的 admin 密码。 运行安装程序。 前一个下一个