6.3. Apicurio Registry 環境変数の管理

Service Registry Operator は最も一般的な Apicurio Registry 設定を管理しますが、手動で調整できるオプションがいくつかあります。Apicurio Registry Deployment リソースに環境変数を設定することで、これらを更新することができます。ApicurioRegistry CR で特定の設定オプションが使用できない場合は、環境変数を使用して調整できます。

手順

OpenShift Web コンソール
  1. Installed Operators タブを選択してから、Red Hat Integration - Service Registry Operator を選択します。
  2. ApicurioRegistry タブで、Apicurio Registry デプロイメントの ApicurioRegistry CR をクリックします。
  3. メインの概要ページで、Apicurio Registry インスタンスをデプロイするために Operator によって管理される Deployment の名前が含まれる managedResources セクションを表示します。
  4. 左側のメニューの Workloads > Deployments でその Deployment を見つけます。
  5. 正しい名前の Deployment を選択し、Environment タブを選択します。
  6. 環境変数を Single values (env) セクションに追加または変更できます。
  7. 下部にある Save をクリックします。
OpenShift CLI
  1. Apicurio Registry がインストールされているプロジェクトを選択します。
  2. oc get apicurioregistry を実行して、ApicurioRegistry CR のリストを取得します
  3. 設定する Apicurio Registry インスタンスを表す CR で oc describe を実行します。
  4. status セクションで managedResource を表示します。
  5. その Deployment を見つけて、 oc edit と入力します。
  6. spec.template.spec.containers[0].env セクションで環境変数を追加または変更します。