2.8. OpenShift Container Platform デプロイメントのシークレットの取得
これは、Microsoft Azure 上の Ansible Automation Platform には適用されません。
Automation Controller に付属するデフォルトの実行環境を使用してリモート実行ノードで実行する場合は、実行環境イメージをプルするための認証情報を含むプルシークレットを Automation Controller に追加する必要があります。
これを行うには、Automation Controller の namespace でプルシークレットを作成し、次のように Operator で ee_pull_credentials_secret パラメーターを設定します。
手順
次のコマンドを使用してシークレットを作成します。
oc create secret generic ee-pull-secret \ --from-literal=username=<username> \ --from-literal=password=<password> \ --from-literal=url=registry.redhat.iooc create secret generic ee-pull-secret \ --from-literal=username=<username> \ --from-literal=password=<password> \ --from-literal=url=registry.redhat.ioCopy to Clipboard Copied! Toggle word wrap Toggle overflow デプロイメント仕様を編集して、
ee_pull_credentials_secretとee-pull-secretを仕様に追加します。oc edit automationcontrollers aap-controller-o yaml
oc edit automationcontrollers aap-controller-o yamlCopy to Clipboard Copied! Toggle word wrap Toggle overflow そして次の行を追加します。
spec ee_pull_credentials_secret=ee-pull-secret
spec ee_pull_credentials_secret=ee-pull-secretCopy to Clipboard Copied! Toggle word wrap Toggle overflow - Automation Controller UI からインスタンスを管理するには、システム管理者またはシステム監査者の権限が必要です。