7.2. Apicurio Registry CR スペック
spec
は、オペレーターがアーカイブするための望ましい状態または設定を提供するために使用される ApicurioRegistry
CR の一部です。
ApicurioRegistry CR 仕様コンテンツ
以下のブロック例には、可能な spec
設定オプションの完全なツリーが含まれます。フィールドによっては、必須ではないものや、同時に定義してはいけないものもあります。
spec: configuration: persistence: <string> sql: dataSource: url: <string> userName: <string> password: <string> kafkasql: bootstrapServers: <string> security: tls: truststoreSecretName: <string> keystoreSecretName: <string> scram: mechanism: <string> truststoreSecretName: <string> user: <string> passwordSecretName: <string> ui: readOnly: <string> logLevel: <string> registryLogLevel: <string> security: keycloak: url: <string> realm: <string> apiClientId: <string> uiClientId: <string> https: disableHttp: <bool> secretName: <string> env: <k8s.io/api/core/v1 []EnvVar> deployment: replicas: <int32> host: <string> affinity: <k8s.io/api/core/v1 Affinity> tolerations: <k8s.io/api/core/v1 []Toleration> imagePullSecrets: <k8s.io/api/core/v1 []LocalObjectReference> metadata: annotations: <map[string]string> labels: <map[string]string> managedResources: disableIngress: <bool> disableNetworkPolicy: <bool> disablePodDisruptionBudget: <bool> podTemplateSpecPreview: <k8s.io/api/core/v1 PodTemplateSpec>
spec:
configuration:
persistence: <string>
sql:
dataSource:
url: <string>
userName: <string>
password: <string>
kafkasql:
bootstrapServers: <string>
security:
tls:
truststoreSecretName: <string>
keystoreSecretName: <string>
scram:
mechanism: <string>
truststoreSecretName: <string>
user: <string>
passwordSecretName: <string>
ui:
readOnly: <string>
logLevel: <string>
registryLogLevel: <string>
security:
keycloak:
url: <string>
realm: <string>
apiClientId: <string>
uiClientId: <string>
https:
disableHttp: <bool>
secretName: <string>
env: <k8s.io/api/core/v1 []EnvVar>
deployment:
replicas: <int32>
host: <string>
affinity: <k8s.io/api/core/v1 Affinity>
tolerations: <k8s.io/api/core/v1 []Toleration>
imagePullSecrets: <k8s.io/api/core/v1 []LocalObjectReference>
metadata:
annotations: <map[string]string>
labels: <map[string]string>
managedResources:
disableIngress: <bool>
disableNetworkPolicy: <bool>
disablePodDisruptionBudget: <bool>
podTemplateSpecPreview: <k8s.io/api/core/v1 PodTemplateSpec>
以下の表は、各設定オプションについて説明しています。
設定オプション | 型 | デフォルト値 | 説明 |
---|---|---|---|
| - | - | Apicurio Registry アプリケーションの設定セクション |
| string | required |
ストレージバックエンド。 |
| - | - | SQL ストレージバックエンドの設定 |
| - | - | SQL ストレージバックエンドのデータベース接続設定 |
| string | required | データベース接続 URL 文字列 |
| string | required | データベースコネクションユーザー |
| string | empty | データベース接続パスワード |
| - | - | Kafka ストレージバックエンドの設定 |
| string | required | Streams ストレージバックエンドの Kafka ブートストラップサーバー URL。 |
| - | - | Kafka ストレージバックエンドの TLS 認証を設定するセクション。 |
| string | required | Kafka の TLS トラストストアが含まれるシークレットの名前 |
| string | required | ユーザー TLS キーストアを含むシークレットの名前 |
| string | required | Kafka の TLS トラストストアが含まれるシークレットの名前 |
| string | required | SCRAM ユーザー名 |
| string | required | SCRAM ユーザーパスワードが含まれるシークレットの名前 |
| string |
| SASL メカニズム |
| - | - | Apicurio Registry Web コンソールの設定 |
| string |
| Apicurio Registry Web コンソールを読み取り専用モードに設定する |
| string |
|
Apicurio 以外のコンポーネントおよびライブラリーの Apicurio Registry ログレベル。 |
| string |
|
Apicurio アプリケーションコンポーネントの Apicurio Registry ログレベル (Apicurio 以外のコンポーネントおよびライブラリーを除く)。 |
| - | - | Apicurio Registry Web コンソールと REST API のセキュリティー設定 |
| - | - | Red Hat Single Sign-On を使用した Web コンソールと REST API のセキュリティー設定 |
| string | required | Red Hat Single Sign-On URL |
| string | required | Red Hat Single Sign-On レルム |
| string |
| REST API 用の Red Hat Single Sign-On クライアント |
| string |
| Web コンソール用の Red Hat Single Sign-On クライアント |
| - | - | HTTPS の設定。詳細は、OpenShift クラスター内からの Apicurio Registry への HTTPS 接続の設定 を参照してください。 |
| string | empty |
HTTPS 証明書とキーを含む Kubernetes シークレットの名前。それぞれ |
| bool |
| HTTP ポートと Ingress を無効にします。前提条件として HTTPS を有効にする必要があります。 |
| k8s.io/api/core/v1 []EnvVar | 空 | Apicurio Registry Pod に提供される環境変数のリストを設定します。詳細は、Apicurio Registry 環境変数の管理 を参照してください。 |
| - | - | Apicurio Registry デプロイメント設定のセクション |
| 正の整数 |
| デプロイする Apicurio Registry Pod の数 |
| string | 自動生成 | Apicurio Registry コンソールと API が利用可能なホスト/URL。可能な場合、Apicurio Registry Operator は、クラスタールーターの設定に基づいて正しい値を決定しようとします。値は一度だけ自動生成されるため、ユーザーは後で上書きすることができます。 |
| k8s.io/api/core/v1 Affinity | 空 | Apicurio Registry デプロイメントアフィニティー設定 |
| k8s.io/api/core/v1 []Toleration | 空 | Apicurio Registry のデプロイ容認の設定 |
| k8s.io/api/core/v1 []LocalObjectReference | 空 | Apicurio Registry デプロイメント用のイメージプルシークレットの設定 |
| - | - | Apicurio Registry Pod のラベルまたはアノテーションのセットを設定します。 |
| map[string]string | empty | Apicurio Registry Pod のラベルのセットを設定します。 |
| map[string]string | empty | Apicurio Registry Pod の一連のアノテーションを設定します。 |
| - | - | Apicurio Registry Operator が Kubernetes リソースを管理する方法を設定するセクション。詳細は、Apicurio Registry 管理リソース を参照してください。 |
| bool |
|
設定されている場合、Operator は Apicurio Registry デプロイメント用の |
| bool |
|
設定されている場合、Operator は Apicurio Registry デプロイメント用の |
| bool |
|
設定されている場合、Operator は Apicurio Registry デプロイメント用の |
| k8s.io/api/core/v1 PodTemplateSpec | empty | Apicurio Registry デプロイメントリソースの一部を設定します。詳細は、 PodTemplate を使用した Apicurio Registry デプロイメントの設定 を参照してください。 |
オプションが 必須 とされている場合は、有効になっている他の設定オプションの条件である可能性があります。空の値は受け入れられる可能性がありますが、Operator は指定されたアクションを実行しません。