-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvalues.yaml
387 lines (327 loc) · 11.7 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
# Default values for the Liferay Helm Chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
################################################################################
#### Commonly used variables ###################################################
################################################################################
config:
password: test
requiredPasswordChange: false
user: test
mainVirtualHost: main.dxp.docker.localhost
configmap:
# Annotations to add to the configmap
annotations:
{}
# helm.sh/resource-policy: keep
# By setting this to true all the default configmap entries files will not be
# emitted and only those defined in 'configmap.data' will be used.
overrideDefaults: false
# Data to add to the configmap
data:
portal-custom.properties: |
include-and-override=portal-developer.properties
# license.xml: |
# <license>
# Add custom labels to all chart resources
customLabels:
origin: liferay-cloud
# Use this to pass environment variables directly to the DXP container.
# See: https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/
env:
- name: LIFERAY_DISABLE_TRIAL_LICENSE
value: "false"
# This block is for setting up the ingress for more information can be found here: https://kubernetes.io/docs/concepts/services-networking/ingress/
ingress:
enabled: true
className: ""
annotations: {}
hosts:
- host: "*.dxp.docker.localhost"
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# This sets the container image more information can be found here: https://kubernetes.io/docs/concepts/containers/images/
image:
repository: liferay/dxp
# This sets the pull policy for images.
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
# This is for the secretes for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# Setup the amount of storage requests by the DXP PersistentVolumeClaim
storage:
1Gi
# Set the number of dxp replicas (0 or more)
# See: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/
replicaCount: 1
# Additional volumes on the main dxp container
volumes: {}
# Additional volumeMounts on the main dxp container
volumeMounts:
{}
# - mountPath: /opt/liferay/deploy/license.xml
# name: liferay-file-resources
# subPath: license.xml
#### Setup dependent services
#
# Database
#
database:
# Configuration values (used with or without the embedded database)
config:
user: database
password: database
database: lportal
# host: liferay-database
port: 5432
# JDBC Connect String format: jdbc:{scheme}://{host}:{port}/{database}?{parameters}
jdbc:
driverClassName: org.postgresql.Driver
parameters: "useUnicode=true&characterEncoding=UTF-8&useFastDateParsing=false"
scheme: postgresql
# Configuration for simplified internal database
# (primarily used for local development)
internal:
enabled: true
# This is for setting the node selection constraints.
# See: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
affinity: {}
# Use this to add additional initContainers to the pod
# See: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
initContainers: {}
livenessProbe:
exec:
command: ["sh", "-c", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"]
readinessProbe:
exec:
command: ["sh", "-c", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"]
startupProbe:
exec:
command: ["sh", "-c", "pg_isready -U $POSTGRES_USER -d $POSTGRES_DB"]
# Set the number of database replicas (0 or 1 for now)
replicaCount: 1
# This is for setting the resource requests and limits of the pods.
# See: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources: {}
# Set the amount of storage requested by the PersistentVolumeClaim
storage: 1Gi
# Set the database image to use.
image:
repository: postgres
tag: 16
# Pass extra environment variables to the main container
env: {}
#
# Search
#
search:
# Configuration values (used with or without the embedded search)
config:
# Note that when using 'opensearch' additional modules need to be added to the Liferay container.
# See https://learn.liferay.com/w/dxp/using-search/installing-and-upgrading-a-search-engine/opensearch/installing-opensearch
engine: elasticsearch # or opensearch
user: search
password: search
clusterName: liferay_cluster
# host: liferay-search
authenticationEnabled: false
httpSSLEnabled: false
port: 9200
scheme: http
mtls:
enabled: false
truststorePassword: "certpass"
truststorePath: "/path/to/certs/truststore.p12"
truststoreType: "pkcs12"
# Configuration for simplified internal search
# (primarily used for local development)
internal:
enabled: true
# This is for setting the node selection constraints.
# See: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
affinity: {}
# Use this to add additional initContainers to the pod
# See: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
initContainers: {}
livenessProbe:
tcpSocket:
port: search
readinessProbe:
tcpSocket:
port: search
startupProbe:
tcpSocket:
port: search
# Set the number of search replicas (0 or 1 for now)
replicaCount: 1
# This is for setting the resource requests and limits of the pods.
# See: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources: {}
# Set the amount of storage requested by the PersistentVolumeClaim
storage: 1Gi
# Set the search image to use.
image:
repository: elasticsearch
tag: "8.17.0"
# Pass extra environment variables to the main container
env: {}
#
# Object (File) Storage
#
objectstorage:
# Configuration values for object storage
config:
buckets: objectstorage
corePoolSize: 3
connectionTimeout: 20
dlStoreImpl: com.liferay.portal.store.s3.S3Store
httpClientMaxConnections: 10
httpClientMaxErrorRetry: 3
# host: liferay-objectstorage
password: objectstorage
pathStyle: true
ports:
api: 9000
console: 9001
region: us-west-1
scheme: http
user: objectstorage
# Configuration for simplified internal objectstorage
# (primarily used for local development)
internal:
enabled: true
# This is for setting the node selection constraints.
# See: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
affinity: {}
# Use this to add additional initContainers to the pod
# See: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
initContainers: {}
livenessProbe:
httpGet:
path: /minio/health/live
port: api
scheme: HTTP
readinessProbe:
httpGet:
path: /minio/health/ready
port: api
scheme: HTTP
startupProbe:
httpGet:
path: /minio/health/ready
port: api
scheme: HTTP
# Set the number of objectstorage replicas (0 or 1 for now)
replicaCount: 1
# This is for setting the resource requests and limits of the pods.
# See: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources: {}
# Set the amount of storage requested by the PersistentVolumeClaim
storage: 1Gi
# Set the objectstorage image to use.
image:
repository: bitnami/minio
tag: "2024"
# Pass extra environment variables to the main container
env: {}
# This block is for enabling access to the MinIO management console.
ingress:
enabled: true
className: ""
annotations: {}
hosts:
- host: "api.objectstorage.docker.localhost"
paths:
- path: /
pathType: ImplementationSpecific
backendServicePortName: api
- host: "console.objectstorage.docker.localhost"
paths:
- path: /
pathType: ImplementationSpecific
backendServicePortName: console
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
livenessProbe:
httpGet:
path: /c/portal/robots
port: http
failureThreshold: 2
initialDelaySeconds: 10
periodSeconds: 5
readinessProbe:
httpGet:
path: /c/portal/robots
port: http
failureThreshold: 2
initialDelaySeconds: 10
periodSeconds: 5
startupProbe:
httpGet:
path: /c/portal/robots
port: http
failureThreshold: 30
initialDelaySeconds: 20
periodSeconds: 5
################################################################################
#### Less common fine tuning options ###########################################
################################################################################
# This is for setting the node selection constraints.
# See: https://kubernetes.io/docs/tasks/configure-pod-container/assign-pods-nodes-using-node-affinity/
affinity: {}
# This section is for setting up autoscaling.
# See: https://kubernetes.io/docs/concepts/workloads/autoscaling/
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
# This is to override the chart name.
nameOverride: ""
fullnameOverride: ""
# This is the simplest form of no selection constraint.
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
nodeSelector: {}
# This is for setting Kubernetes Annotations to a Pod.
# See: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
podAnnotations: {}
# This is for setting Kubernetes Labels to a Pod.
# See: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# This is for setting the resource requests and limits of the pods.
# See: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
resources: {}
# This is for setting up a service more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/
service:
# This sets the service type more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
type: ClusterIP
# This sets the ports more information can be found here: https://kubernetes.io/docs/concepts/services-networking/service/#field-spec-ports
port: 8080
debugPort: 8000
clusterPort: 7800
# This section lets you specify custom annotations field on the service manifest
# Ex: helm --set 'service.annotations.oci\.oraclecloud\.com/load-balancer-type=lb'
annotations: {}
# This section builds out the service account more information can be found here: https://kubernetes.io/docs/concepts/security/service-accounts/
serviceAccount:
# Specifies whether a service account should be created
create: true
# Automatically mount a ServiceAccount's API credentials?
automount: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""
# Tolerations allow the scheduler to schedule pods with matching taints.
# See: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
tolerations: []