5.2.6. バインディングの作成
バインディングオブジェクトを使用してバインドするには、以下の手順に従います。
注記
テナントコントローラー で作成されたクレデンシャルを使用します。
手順
Catalog > Installed Operators の順にクリックします。
- Installed Operators のリストで、3scale Operator をクリックします。
- Binding タブをクリックします。
- Create Binding をクリックします。
サンプルのコンテンツを消去して以下の YAML 定義をエディターに追加し、続いて Create をクリックします。
apiVersion: capabilities.3scale.net/v1alpha1 kind: Binding metadata: name: mytestingbinding spec: credentialsRef: name: ecorp-tenant-secret APISelector: matchLabels: environment: testing
バインディングオブジェクトは、
ecorp-tenant-secret
を参照して、environment: staging
のラベルが設定された API オブジェクトを作成します。新しい 3scale テナントに移動し、前のステップで実行したすべての設定が作成されていることを確認します。
注記詳細は、参考のドキュメント Capabilities CRD を確認してください。