CNE Azure Ready: Helm 値リファレンス
このリファレンスでは、CNE Azure ReadyデプロイメントのGitOpsリポジトリ内の値ファイル、それらを読み込むHelmチャート、およびそれらのデフォルト値について説明します。これは、liferay-azure-bootstrap 0.3.0 と、それがインストールするチャート( liferay-azure 0.3.0( liferay-default 4.0.0 をラップしたもの)、 liferay-infrastructure 0.2.0、 liferay-azure-infrastructure-provider 0.3.0、およびobservability 2.0.0)について説明します。
ブートストラップはconfig.jsonを読み込みます。ブートストラップ後、GitOpsリポジトリで環境値を設定すると、Argo CDがコミットした変更を毎回適用します。 config.jsonの値については、 「CNE Azure Ready: Bootstrap Configuration Reference」を参照してください。
GitOps バリューファイル
Argo CDは、GitOpsリポジトリから以下のファイルを読み込みます。
liferay/
├── projects
│ └── <projectId>
│ ├── base
│ │ ├── infrastructure.yaml
│ │ └── liferay.yaml
│ ├── environments
│ │ └── <environmentId>
│ │ ├── infrastructure.yaml
│ │ └── liferay.yaml
│ └── project.yaml
└── system
├── infrastructure-provider.yaml
└── observability.yaml
| ファイル | チャート | Argo CDアプリケーション | 範囲 |
|---|---|---|---|
liferay/projects/<projectId>/environments/<environmentId>/liferay.yaml | liferay-azure | <projectId>-<environmentId>-app | ある環境のLiferay DXPワークロード |
liferay/projects/<projectId>/environments/<environmentId>/infrastructure.yaml | liferay-infrastructure | <projectId>-<environmentId>-infra | 1つの環境のAzureリソース、検索クラスター、ゲートウェイ、証明書、およびライセンス |
liferay/projects/<projectId>/project.yaml | liferay-infrastructure | <projectId>-resources | プロジェクトの環境間で共有されるリソース |
liferay/system/infrastructure-provider.yaml | liferay-azure-infrastructure-provider | liferay-infrastructure-provider | デプロイメント全体で共有されるリソース |
liferay/system/observability.yaml | observability | liferay-observability | オブザーバビリティスタック |
Argo CD は、環境のアプリケーションをenvironments/<environmentId>フォルダー内のファイルから作成します。liferay.yaml がない環境フォルダーにはliferay.yaml DXP アプリケーションがなく、 infrastructure.yamlがない環境フォルダーにはインフラストラクチャ アプリケーションがありません。両方の環境アプリケーションはliferay-<projectId>-<environmentId>名前空間にデプロイされます。
liferay.yamlとinfrastructure.yamlの場合、Argo CD はliferay/projects/<projectId>/baseのファイルを最初に適用し、次に環境のファイルを適用するため、環境のファイルの値はbaseの同じ値を上書きします。プロジェクトのすべての環境が共有する値をbaseに格納します。
プラットフォームが設定する値
プラットフォームはこれらの値をArgo CD Helmパラメータとしてチャートに渡します。このパラメータは値ファイルよりも優先されます。それらをファイル内に設定しないでください。
| アプリケーション | 価値観 |
|---|---|
<projectId>-<environmentId>-app | global.database.engine ( config.jsonのsetup.database.engineから)、 global.liferayServiceAccount.create ( false)、 global.liferayServiceAccount.name ( liferay-default)、 liferay-default.network.gatewayName ( <projectId>-<environmentId>-gateway)、 liferay-default.clientExtensions.delivery.* 、 liferay-default.licensing.onlineActivationWorkflow.enabled ( true)、およびglobal.azure.prometheusWorkspaceEndpoint |
<projectId>-<environmentId>-infra | clusterSecretStoreName 、 environmentId 、 projectId 、 gateway.className ( liferay-gateway-class )、 gateway.name ( <projectId>-<environmentId>-gateway )、 overlayBucket.enabled ( false )、およびpersistence.storageClassName ( managed-csi-premium-v2 ) |
<projectId>-resources | enabled ( false )およびprojectId |
liferay-infrastructure-provider | database.engine 、 deploymentContext.* 、 deploymentName 、およびliferay-subchart-backup-restore.database.engine |
liferay-observability | centralHub.* 、 namespaceOverride値、 cloudProvider ( azure)、およびazure.*値 |
liferay.yaml
liferay.yaml liferay-azureチャートを設定します。 liferay-azure liferay-defaultチャートをラップするので、すべての値をliferay-default::
liferay-default:
replicaCount: 2
liferay.yamlに何も設定されていない環境は、次の 2 つのセクションの値で実行されます。
Azure 設定
liferay-azure liferay-defaultに対してこれらの値を設定します。これらは、Core Liferay Valuesに記載されているliferay-defaultデフォルト値を上書きします。
| 価値 | Azure 設定 |
|---|---|
annotations | OpenTelemetry inject-java注入が無効になっています: instrumentation.opentelemetry.io/inject-dotnet 、およびsidecar.opentelemetry.io/inject 、それぞれinject-python [ inject-nodejs "false" |
autoscaling.type | keda |
autoscaling.keda.triggerAuthentication.spec | azure-workloadポッドIDプロバイダーを使用するTriggerAuthentication |
configmap.data | SEARCH_URL 、 SEARCH_USERNAME 、 SEARCH_PASSWORDから接続を読み取るElasticsearch 7およびElasticsearch 8コネクタ構成、およびAzure Blob Storageドキュメントストア構成 |
customEnv | LIFERAY_DISABLE_TRIAL_LICENSE=true 、Azure Blob Storage ドキュメント ストア ( com.liferay.portal.store.azure.AzureStore)、 DATABASE_PASSWORDのパスワードを持つデータベース ユーザーliferay 、および転送されたポートとプロトコル ヘッダーが有効になっている |
customEnvFrom | database-server-details ConfigMap とdatabase-app-password 、 document-library-connection-details 、 search-connection-details Secrets |
customInitContainers | search-connection-detailsを読み取る、 wait-for-elasticsearch待ちコンテナ |
customLabels | origin: liferay-azure |
customVolumeMounts | elasticsearch 7、Elasticsearch 8、およびAzure Blob Storageの設定をliferay-configmapボリュームから/opt/liferay/osgi/configsにマウントします。 |
customVolumes | wait-for-elasticsearch.shスクリプトが格納されているliferay-init-scripts-azure ConfigMap ボリューム |
database.host | ${env.DATABASE_ENDPOINT} |
database.tlsRequired | true |
network.enabled | true |
network.timeouts | backendRequest: 300s 、 request: 300s |
overlay.type | azureblob |
persistence.defaultStorageClassName | managed-csi |
podLabels | azure.workload.identity/use: "true" |
podSecurityContextとsecurityContext | ユーザー1000として実行( runAsNonRoot: true )、 RuntimeDefault seccompプロファイルを使用。コンテナはすべての機能を放棄し、権限昇格を禁止します。 |
resources | CPU 2000m 、メモリ4Giの要求。制限はCPU 4000m 、メモリ12Gi |
volumeClaimTemplates | liferay-persistent-volume 、 ReadWriteOnce 、 10Gi |
試用版ライセンスが無効になっているため、Liferay DXPはユーザーが提供するライセンスでのみ起動します。 CNE Azure Ready: シークレットとライセンスの管理を参照してください。
データベース エンジンはconfig.jsonのsetup.database.engineから取得され、プラットフォームはそれをglobal.database.engineとして渡します。 database.engine別のエンジンに設定すると、レンダリングが失敗します。
自動スケーリングを構成するには、 「CNE Azure Ready: 自動スケーリングの構成」を参照してください。 Azureでは、 autoscaling.enabledはデフォルトでfalseれており、 autoscaling.keda.prometheusServerAddressは空です。 PrometheusトリガーのprometheusServerAddress設定します。プラットフォームは Azure Monitor ワークスペースエンドポイントをglobal.azure.prometheusWorkspaceEndpointとして渡しますが、 liferay-azure 0.3.0 テンプレートはそれを読み取りません。
Liferayのコアバリュー
この YAML にはliferay-default 4.0.0 の値とそのデフォルト値がリストされていますが、 marketplace 、 licensing.offline 、 licensing.offlineActivationBundle値は除外されています。これは、CNE Azure Ready 0.3.0 が Marketplace アドオンの配信もオフライン ライセンスもサポートしていないためです。 liferay.yamlのliferay-default:の下にそれらをネストします。デフォルトが長いリストまたはテンプレートのセットである場合、ブロックには[...]または {...} が表示され、コメントにはデフォルトのエントリの名前が付けられます。
affinity: {} # Set the pod template affinity field
annotations: {} # Set StatefulSet and pod template annotations
autoscaling: # Autoscaling configuration
enabled: false # Enable autoscaling; when true, the StatefulSet does not set replicas
hpa: # HorizontalPodAutoscaler, used when type is hpa
annotations: {} # Set HorizontalPodAutoscaler metadata annotations
maxReplicas: 100 # Set HorizontalPodAutoscaler spec maxReplicas field
metrics: [...] # Set HorizontalPodAutoscaler spec metrics field; default is 80 percent average CPU utilization
minReplicas: 1 # Set HorizontalPodAutoscaler spec minReplicas field
keda: # KEDA ScaledObject, used when type is keda
customTriggers: {} # Triggers merged over triggers by name; set enabled: false on a trigger to drop it
maxReplicaCount: 100 # Set ScaledObject spec maxReplicaCount field
minReplicaCount: 1 # Set ScaledObject spec minReplicaCount field
pollingInterval: 30 # Set ScaledObject spec pollingInterval field
prometheusServerAddress: "" # Server address for Prometheus triggers that set none
triggerAuthentication: # KEDA TriggerAuthentication, created when spec is set
annotations: {} # Set TriggerAuthentication metadata annotations
spec: {} # Set TriggerAuthentication spec; every trigger references it
triggers: # Default triggers by name; a trigger without a type is a Prometheus trigger
cpu-usage-percent: {...} # CPU utilization, value "80"
hikari-active-connections: {...} # Maximum active Hikari connections, threshold "50"
jvm-memory-heap-used-percent: {...} # JVM heap used percent, threshold "80"
jvm-threads-current: {...} # JVM current threads, threshold "500"
type: hpa # Autoscaler type: hpa or keda
clientExtensions: # Client extension delivery through the Liferay DXP operator
delivery:
enabled: false # Bind the client extension delivery ClusterRole to the operator service account
operatorServiceAccount:
name: dxp-operator # Service account of the Liferay DXP operator
namespace: dxp-operator-system # Namespace of the Liferay DXP operator
policy:
allowedNamespaces: [] # Namespaces listed in the client-extension-policy ConfigMap
configmap: # Central ConfigMap configuration
annotations: {} # Set central ConfigMap metadata annotations
data: {} # Add entries to the central ConfigMap data
overrideDefaults: false # If true, excludes the default data in templates/configmap.yaml
customEnv: {} # Named lists of container env entries
customEnvFrom: {} # Named lists of container envFrom entries
customInitContainers: # Named lists of init containers
x-license-sync: [...] # License sync sidecar, rendered when licensing.enabled is true
x-liferay-overlay: [...] # Overlay copy, rendered when overlay.enabled is true and overlay.copy is set
x-liferay-prepopulate-data: [...] # Prepares the persistent volume and the Tomcat configuration
x-liferay-wait-on-services: [...] # Waits for the StatefulSet dependencies
customLabels: # Labels added to the chart's resources
origin: liferay-cloud
customPorts: {} # Named lists of container ports
customPullSecrets: {} # Named lists of imagePullSecrets entries
customServicePorts: {} # Named lists of Service ports
customVolumeClaimTemplates: {} # Named lists of StatefulSet volumeClaimTemplates
customVolumeMounts: {} # Named lists of container volumeMounts
customVolumes: # Named lists of pod volumes
x-liferay-init-scripts-default: [...] # The liferay-init-scripts-default ConfigMap volume
database: # Database connection
engine: "" # postgresql; sets the JDBC driver, URL, and Hibernate dialect
host: "" # Database host; required when engine is set
port: "" # Database port; defaults to 5432 for postgresql
tlsRequired: false # Add the engine's TLS parameter to the JDBC URL
dependencies: {} # Services that become ready before Liferay DXP starts
env: [...] # Container env; defaults set clustering, JMX agent, and pod variables
envFrom: # Container envFrom
- secretRef:
name: liferay-default # Secret the chart creates with a generated admin password
fullnameOverride: "" # Override the liferay.fullname value used in the helper template
global:
liferayServiceAccount: # Liferay DXP ServiceAccount and Role
annotations: {} # Set ServiceAccount metadata annotations
automount: true # Set ServiceAccount automountServiceAccountToken field
create: true # Create the ServiceAccount
name: "" # ServiceAccount name; defaults to the chart name
role:
annotations: {} # Set Role metadata annotations
rules: [...] # Role rules; the default allows get, list, and watch on ConfigMaps
image: # Liferay DXP container image
pullPolicy: IfNotPresent # Set container imagePullPolicy field
pullSecrets: []
repository: liferay/dxp # Image repository
tag: 2026.q1.8-lts # Image tag
initContainers: [] # Set pod template initContainers field
licensing: # Licensing through the Liferay DXP operator; unknown keys are rejected
activationCodeSecretKey: activationCode # Key of the activation code in its Secret
activationCodeSecretName: "" # Secret that holds the activation code; defaults to <name>-activation
dxpVersion: "" # DXP version the operator reports; defaults to the image tag
enabled: false # Create the LiferayEnvironment and sync the license into the deploy folder
environmentName: "" # Environment name the operator reports; defaults to the namespace
onlineActivationWorkflow: # Argo workflow that submits the activation code
clusterRoleName: online-activation-cluster-role # ClusterRole the workflow service account is bound to
clusterWorkflowTemplateName: online-activation-cluster-workflow-template # ClusterWorkflowTemplate the workflow runs
enabled: false # Create the online activation workflow and its RBAC; the platform sets true
serviceAccountName: online-activation-service-account # Service account the workflow runs as
ttlSecondsAfterCompletion: 3600 # Seconds a finished workflow is kept before it is deleted
userAccess: # Service account a user submits the workflow with
roleName: online-activation-user-role # Role that allows submitting and watching the workflow
serviceAccountName: online-activation-user-service-account # Service account bound to the role
tokenSecretName: online-activation-user-token # Secret that holds the service account token
workflowTemplateName: online-activation-workflow-template # WorkflowTemplate a user submits
secretName: "" # Secret the license is mounted from; defaults to <name>-entitlements
syncInterval: 60 # Seconds between license syncs into the deploy folder
livenessProbe: # Set container livenessProbe field
failureThreshold: 3
httpGet:
path: /c/portal/robots
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 5
nameOverride: "" # Override the Chart.Name value used in the helper template
network: # Gateway API routing to Liferay DXP
annotations: {} # Set HTTPRoute metadata annotations
enabled: false # Render the HTTPRoute and its BackendTrafficPolicy
endpointRef: http # Gateway listener the HTTPRoute attaches to
extraParentRefs: [] # Additional HTTPRoute parentRefs
extraRules: [] # Additional HTTPRoute rules
forceHttpsRedirect: false # Redirect HTTP to HTTPS when endpointRef is not http
gatewayName: "" # Gateway the HTTPRoute attaches to
hostnames: [] # HTTPRoute hostnames; the first becomes the default virtual host
hsts:
enabled: true # Add the Strict-Transport-Security response header
value: max-age=31536000 # Strict-Transport-Security header value
perHostnameRoutes: false # Render one HTTPRoute per hostname
securityPolicyAuthorizationSpec: {} # Authorization for an Envoy Gateway SecurityPolicy on the route
sessionPersistence: # Set HTTPRoute rule sessionPersistence field
cookieConfig:
lifetimeType: Session
sessionName: LIFERAY_SESSION
type: Cookie
timeouts: {} # Set HTTPRoute rule backendRequest and request timeouts
networkPolicy: # Kubernetes NetworkPolicy for the Liferay DXP pods
allowGatewayIngress: true # Allow ingress from the gateway pods when network.enabled is true
allowMetricsIngress: true # Allow ingress to metricsPort from metricsNamespace
annotations: {} # Set NetworkPolicy metadata annotations
cluster:
kubernetesEndpointCidrs: "" # Comma-separated CIDRs allowed for egress on port 443
enabled: false # Render the NetworkPolicy
extraEgress: [] # Additional egress rules
extraIngress: [] # Additional ingress rules
gatewayNamespace: envoy-gateway-system # Namespace of the gateway pods
gatewayPodLabel: envoy # app.kubernetes.io/name label of the gateway pods
metricsNamespace: observability # Namespace allowed to reach metricsPort
metricsPort: 12345 # Metrics port
nodeSelector: {} # Set pod template nodeSelector field
overlay: # Files copied from overlay storage before Liferay DXP starts
copy: [] # Entries with from (path in overlay storage) and into (path on the persistent volume)
enabled: false # Render the overlay init container
image: # Image of the overlay init container
repository: rclone/rclone
tag: "1.66"
initScriptsVolumeName: liferay-init-scripts-default # Volume that holds overlay-sync.sh
type: "" # rclone backend type
persistence:
defaultStorageClassName: "" # storageClassName for volumeClaimTemplates that set none
podLabels: {} # Set pod template labels
podSecurityContext: {} # Set pod securityContext field
portalBundleDenyList: [] # Add bundles to the bundle deny list in portal-cloud.properties
portalComponentDenyList: [] # Add components to the component deny list in portal-cloud.properties
portalProperties: # Set portal properties in portal-cloud.properties
ports: [...] # Container ports: glowroot 4000, session 4100, cluster 7800, cluster-tx 7801, debug 8000, http 8080
pullSecrets: [] # Set pod imagePullSecrets field
readinessProbe: # Set container readinessProbe field
failureThreshold: 2
httpGet:
path: /c/portal/robots
port: http
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 5
replicaCount: 1 # Set StatefulSet replicas when autoscaling is disabled
resources: # Set container resources field
limits:
cpu: 4000m
memory: 8Gi
requests:
cpu: 2000m
memory: 6Gi
schedulingGates: [] # Set pod schedulingGates field
search:
engine: "" # When opensearch, adds the Elasticsearch connector bundles to the deny list
securityContext: {} # Set container securityContext field
service: # Liferay DXP Service configuration
annotations: {} # Set Service metadata annotations
ports: [...] # Service ports: cluster 7800, cluster-tx 7801, http 8080
type: ClusterIP # Set Service spec type field
startupProbe: # Set container startupProbe field
failureThreshold: 90
httpGet:
path: /c/portal/robots
port: http
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
tolerations: [] # Set pod tolerations field
tomcat:
maxThreads: "" # Set maxThreads in Tomcat's server.xml
sessionReplication:
transportTimeoutMs: 300000 # Tomcat session replication sender timeout
updateStrategy: # Set StatefulSet updateStrategy field
type: RollingUpdate
volumeClaimTemplates: [...] # liferay-persistent-volume, ReadWriteOnce, 1Gi
volumeMounts: [...] # Mounts from liferay-persistent-volume and liferay-configmap
volumes: [...] # liferay-configmap, from the liferay-default ConfigMap
ポータルプロパティを設定するには、 「ポータルプロパティの設定」を参照してください。ドメインを Liferay DXP にルーティングするには、 「CNE Azure Ready: Liferay ドメインと TLS の構成」を参照してください。オーバーレイ ストレージから OSGi モジュールまたはクライアント拡張機能をコピーするには、 「CNE Azure Ready: オーバーレイを使用した OSGi モジュールまたはクライアント拡張機能の追加」を参照してください。
infrastructure.yaml
infrastructure.yaml liferay-infrastructureチャートを設定します。この図は、環境内のElasticsearchクラスター、ゲートウェイ、およびシークレットを表示します。また、 LiferayInfrastructureリソースもレンダリングされ、Azureコンポジションによって環境のAzureリソースに変換されます。デフォルト値は、表にAzureコンポジションによって設定されると記載されている場合を除き、 LiferayInfrastructureリソース定義から取得されます。
データベース
これらの値は、環境のデータベースサーバーを設定します。
| 価値 | 説明 | デフォルト |
|---|---|---|
database.highAvailability | データベースサーバーの高可用性を実現します。 | false |
database.instanceType | Azure Database フレキシブルサーバーの SKU を設定します。 | AzureコンポジションGP_Standard_D2s_v3によって設定されます。 |
database.storageGB | データベースのストレージ容量をGB単位で設定します。 | 32 |
database.version | データベースエンジンのバージョンを設定します。 | Azure 構成によって設定されました: "16" |
database.restore.pointInTime.time | データベースを復元するUTC時刻をYYYY-MM-DDTHH:MM:SSZ形式で設定します。復元時に必要です。 | なし |
データベースエンジンは、このファイルではなく、 config.jsonのsetup.database.engineから取得されます。
リソース定義ではdatabase.restore.snapshotも受け入れられますが、Azure 構成ではdatabase.restore.pointInTime.timeが設定されていない復元は失敗します。環境を復元するには、 「CNE Azure Ready: バックアップと復元」を参照してください。
バックアップ
これらの値は、環境のドキュメントライブラリの定期バックアップを設定します。
| 価値 | 説明 | デフォルト |
|---|---|---|
backup.enabled | 環境の定期バックアップを有効にします。 | false |
backup.frequency | バックアップの実行頻度を設定します: DailyまたはWeekly 。 | Daily |
backup.dayOfWeek | 毎週バックアップを実行する曜日SundayからSaturdayを設定します。 | Sunday |
backup.timeOfDay | バックアップを実行する時刻をHH:MM形式で設定します。 | 05:00 |
backup.timeZone | timeOfDayのタイムゾーンを設定します。 | UTC |
backup.retentionDays | バックアップの保存日数を設定します。リソース定義では1 ~ 3650値を受け付けますが、Azureコンポジションでは7 ~ 35値が適用されます。 | 30 |
backup.vaultTags | 環境のバックアップ保管庫にタグを設定します。 | {} |
backup.restore.sanitizationScripts | backup.enabledがtrueの場合にチャートがbackup-restore-sanitization ConfigMap に保存する名前付き SQL スクリプトをリストします。 | {} |
バックアップと復元の手順については、 「CNE Azure Ready: バックアップと復元」を参照してください。
検索
Azure では、 search.engine elasticsearchである必要があります。 search.engineが空の場合、 elasticsearchに解決されます。 opensearchを設定すると、レンダリングが失敗します。 Search engine opensearch is not available on this cloud, which supports: elasticsearch 。」というエラーが表示されます。
| 価値 | 説明 | デフォルト |
|---|---|---|
search.engine | 検索エンジンを設定します。 | ""は、 elasticsearchに解決されます。 |
search.elasticsearch.version | Elasticsearchのバージョンを設定します。 | 8.19.11 |
search.elasticsearch.nodeCount | Elasticsearchノードの数を設定します。 | 1 |
search.elasticsearch.volumeSize | 各ノードのデータボリュームサイズを設定します。 | 10Gi |
search.elasticsearch.env | Elasticsearchコンテナの環境変数を設定します。 | ES_JAVA_OPTS: -Xms4g -Xmx4g |
search.elasticsearch.resources | Elasticsearchコンテナのリソースを設定します。 | CPU 500m 、メモリ4Giのリクエスト。制限はCPU 1000m 、メモリ8Gi |
Elasticsearchのデータボリュームは、プラットフォームによって設定されるmanaged-csi-premium-v2ストレージクラスを使用します。詳細については、 「CNE Azure Ready: Elasticsearch の使用」を参照してください。
エンドポイントとゲートウェイ
endpoints 、リスナー名をキーとしたゲートウェイリスナーのマップです。ゲートウェイは常にポート80でhttpリスナーを持っていますhttpという名前のエンドポイントがそれを置き換えます。
| 価値 | 説明 | デフォルト |
|---|---|---|
endpoints.<name>.hostname | リスナーがサービスを提供するホスト名を設定します。 | なし |
endpoints.<name>.port | リスナーポートを80または443に設定します。ポート80エンドポイント( http以外)はホスト名を設定する必要があります。 | なし |
endpoints.<name>.protocol | HTTPやHTTPSなどのリスナープロトコルを設定します。 | なし |
endpoints.<name>.tls.externalSecretKeys | リスナーの証明書の秘密鍵ストアキーを一覧表示します。これらはHTTPSに必須であり、それ以外の場合は許可されていません。各キーはliferay-certificates-で始まり、有効なDNS-1123名である必要があり、ハイフンとそれに続く6文字で終わってはなりません。 | なし |
gateway.accessControl.enabled | trueの場合、ゲートウェイはallowedCIDRsからのトラフィックのみを受け入れます。 | false |
gateway.accessControl.allowedCIDRs | accessControl.enabledがtrueの場合に許可される IPv4 または IPv6 CIDR を一覧表示します。アクセス制御が有効になっている場合、リストは空であってはなりません。 | [] |
gateway.annotations | Gatewayリソースに注釈を設定します。 | {} |
gateway.clientTrafficPolicySpec | ゲートウェイにアタッチされているEnvoy Gateway ClientTrafficPolicyの仕様を設定します。 | {} |
手順については、 「CNE Azure Ready: LiferayドメインとTLSの構成」を参照してください。
ライセンス
これらの値は、シークレットストアからライセンスを環境に同期します。
| 価値 | 説明 | デフォルト |
|---|---|---|
license.externalSecretKey | ライセンスの秘密保存キーを設定します。必ずliferay-licenses-で始まり、ハイフンに続いて6文字または数字が続く形で終わってはなりません。設定が完了すると、チャートはライセンスを環境に同期します。 | "" |
license.externalSecretProperty | ライセンスを保持している秘密の店舗エントリのプロパティ名を指定します。 | license.xml |
license.targetSecretName | ライセンスを受け取るKubernetes Secretの名前を指定します。有効なDNS-1123名である必要があります。 | ""、これは Secret liferay-licenseという名前です |
手順については、 「CNE Azure Ready: シークレットとライセンスの管理」を参照してください。
ストレージ、タグ、および削除
これらの値は、タグ、暗号化、オーバーレイアクセス、および環境のAzureリソースが削除されたときに何が起こるかを設定します。
| 価値 | 説明 | デフォルト |
|---|---|---|
storage.tags | 環境のストレージアカウントにタグを設定します。 | {} |
commonTags | Azure コンポジションが環境の Azure リソースに追加するタグを設定します。 | {} |
forceDestroy | trueに設定すると、環境のバックアップ ボールトでのソフト削除が無効になります。 | false |
orphanOnDelete | trueの場合、環境が削除されても Azure リソースは Azure に残ります。 | false |
overlayAccess.enabled | trueの場合、環境にプロジェクトのオーバーレイ ストレージへの読み取りアクセス権を付与し、環境の名前空間にoverlay-bucket-details Secret を作成します。 | false |
cmk.enabled | trueの場合、Azure Key Vault 内の顧客管理キーを使用して、環境のストレージ アカウントとデータベースを暗号化します。 | false |
Azure の構成により、環境のストレージ アカウント上で BLOB のバージョン管理が可能になります。値が何もなければ無効になります。
project.yaml
project.yaml liferay-infrastructureチャートを通じてプロジェクトの共有リソースを設定します。 baseレイヤーがなく、プラットフォームがenabledをfalseに設定しているため、チャートはオーバーレイストレージのみをレンダリングします。環境のoverlayBucket値は効果がありません。なぜなら、プラットフォームはすべての環境に対してoverlayBucket.enabledをfalseに設定するからです。
| 価値 | 説明 | デフォルト |
|---|---|---|
overlayBucket.enabled | プロジェクトのオーバーレイストレージを作成します。 | false |
overlayBucket.commonTags | オーバーレイストレージリソースにタグを設定します。 | {} |
overlayBucket.orphanOnDelete | この設定がtrue場合、プロジェクトのリソースが削除されても、オーバーレイストレージはAzureに残ります。 | false |
overlayBucket.forceDestroy | Azureには影響しません。チャートはそれをLiferayOverlayリソースに渡しますが、Azureオーバーレイコンポジションはそれを読み取りません。 | false |
環境は、 infrastructure.yamlでoverlayAccess.enabled: true設定されている場合、オーバーレイ ストレージを読み取ります。手順については、 「CNE Azure Ready: オーバーレイを使用した OSGi モジュールまたはクライアント拡張機能の追加」を参照してください。
インフラストラクチャプロバイダー.yaml
liferay/system/infrastructure-provider.yaml 、デプロイメント全体で共有されるリソースをインストールするliferay-azure-infrastructure-providerチャートを設定します。
| 価値 | 説明 | デフォルト |
|---|---|---|
network.databaseSubnetCidr | チャートがデプロイメントの仮想ネットワーク内に作成するデータベースサブネットのCIDRを設定します。 | 10.0.16.0/20 |
liferay-subchart-backup-restore.liferayInfrastructure.databaseWaitTimeoutSeconds | 復元ワークフローが復元されたデータベースを待機する秒数を設定します。 | 14400 |
liferay-subchart-backup-restore.liferayInfrastructure.waitTimeoutSeconds | デフォルトで、復元ワークフローがインフラストラクチャの復旧を待つ秒数を設定します。 | 3600 |
仮想ネットワークのアドレス空間は、Terraform 変数vpc_cidrで定義され、デフォルトでは10.0.0.0/16です。クラスタサブネットはcidrsubnet(vpc_cidr, 4, 0)で定義され、デフォルトのアドレス空間では10.0.0.0/20となります。デフォルトのdatabaseSubnetCidrである10.0.16.0/20は、デフォルトのアドレス空間においてクラスタサブネットに続くブロックです。
observability.yaml
liferay/system/observability.yamlは、 observability 2.0.0 チャートを設定します。その最上位の値は、 alerting 、 alloy 、 aws 、 azure 、 centralHub 、 cloudProvider 、 customLabels 、 dashboards 、 datasource 、 frontend 、 fullnameOverride 、 gcp 、 grafana 、 grafana-alloy 、 kube-state-metrics 、 nameOverride 、 prometheus-node-exporter 、およびrdsExporter 。
ブートストラップはazure.*値とcloudProviderを設定します。可観測性の手順については、 「CNE Azure Ready: Grafana を使用したモニタリング」を参照してください。