4.2. 发现自定义资源定义配置参数
Ansible Automation Platform Operator 管理多个自定义资源(CR),每个资源都有自己的配置参数。使用 oc explain 命令发现 AnsibleAutomationPlatform CR 及其嵌套组件的所有可用配置选项。
流程
要查看顶层 CR 的所有可用配置参数,请运行:
oc explain ansibleautomationplatform.spec要查看特定的嵌套部分,请直接查询它们:
oc explain automationcontroller.spec.postgres_configuration_secret oc explain automationcontroller.spec.route_tls_termination_mechanism要一次性浏览所有嵌套字段,请使用--
recursive标志:oc explain automationcontroller.spec --recursive