-
Notifications
You must be signed in to change notification settings - Fork 0
/
values.yaml
460 lines (375 loc) · 10.4 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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
global:
#Inject config maps
inject_maps: []
routing:
type:
operator:
keycloak:
realm:
db:
port:
host:
databasePrefix:
# node selector for the pods
nodeSelector:
# tolerations for the pods
tolerations:
# configuration for the oidc extension
oidc:
# configuration for the oidc-client
client:
# define auth-url for the oidc-client
url:
# Name of the instance, default {{ .Release.Name }}-{{ .Values.name | default .Chart.Name }}
name:
# config/application.properties
config:
# enabled or disable application.properties config map
enabled: false
# name of the config volume mounts
name: application-properties
# file system mounting path
mountPath: /deployments/config/application.properties
# config map key
subPath: application.properties
# config map suffix <app_name>-<suffix>
suffix: "application-properties"
# values: |
# quarkus.property1=value
# quarkus.property2=value
values:
data:
# create config map for data import
import:
# enabled or disable application.properties config map
enabled: false
# name of the config volume mounts
name: data-import
# file system mounting path
mountPath: /deployments/data/data-import.json
# config map key
subPath: data-import.json
# config map suffix <app_name>-<suffix>
suffix: "data-import"
# values to import
values:
# values: |
# quarkus.property1=value
# quarkus.property2=value
# Application image
image:
# Docker registry
registry: "ghcr.io"
# Docker repository (application name)
repository: "change-me"
# Docker image tag (application version)
tag: "main"
# pull policy Always | IfNotPresent | Never
pull: IfNotPresent
# tag suffix for example native
suffix:
# tag suffix seprator
separator: "-"
# Image pull secrets
imagePullSecrets:
# health
livenessProbe:
url: /q/health/live
readinessProbe:
url: /q/health/ready
startupProbe:
url: /q/health/started
# Template env variable for Quarkus application
template:
db_property_url: "_PROD_QUARKUS_DATASOURCE_JDBC_URL"
db_property_username: "_PROD_QUARKUS_DATASOURCE_USERNAME"
db_property_password: "_PROD_QUARKUS_DATASOURCE_PASSWORD"
oidc_client_credential: "_PROD_QUARKUS_OIDC_CLIENT_CREDENTIALS_SECRET"
oidc_client_id: "_PROD_QUARKUS_OIDC_CLIENT_CLIENT_ID"
oidc_client_url: "_PROD_QUARKUS_OIDC_CLIENT_AUTH_SERVER_URL"
oidc_server_url: "QUARKUS_OIDC_AUTH_SERVER_URL"
permision_product_name: "ONECX_PERMISSIONS_PRODUCT_NAME"
# node selector for the pods
nodeSelector:
# tolerations for the pods
tolerations:
# pod
pod:
port: 8080
# service
service:
port: 8080
# Routing
routing:
# Enable or disable routing
enabled: false
# Default URL
default_url: "change.com"
# traefik | ingress
type: none
# path
path:
# routing for bff
bff: false
# host configuration
host:
# prio1 if the name is define generate domain <override>.<default_url>
override:
# prio2 if the name is define generate domain <name>-<release_namespace>.<default_url>
name:
# else <release_name>-<name of chart_name>-<release_namespace>.<default_url>
traefik:
# middleware
middleware:
# middleware for treafik
enabled: false
# traefik middleware name
name:
# ingress
ingress:
annotations:
ingress.kubernetes.io/ssl-redirect: "false"
# custom service name and port for the routing
service:
name:
port:
# Replicas
replicas: 1
serviceAccount:
enabled: false
name:
# Deprecated: Service account suffix
serviceAccountSuffix:
# Inject config maps
inject_maps: []
# service metrics configuration
metrics:
# enable or disable metrics
enabled: false
# service metrics path
path: /q/metrics
# metrics prometheus configuration
prometheus:
# enable or disable prometheus configuration
enabled: true
# prometheus metrics default metrics.path
path:
# scrape prometheus metrics
scrape: true
# prometheus metrics pod port, default pod.port
pod:
# promehtues health metrics
health:
# enable or disable prometheus helth metrics
enabled: true
# service health path for prometheus default livenessProbe.url
path:
# service health port for prometheus default pod.port
port:
# Database configuration
db:
# Enable or disable database connection
enabled: false
# Database name
database:
# Database username
username:
# Database password
password:
# Database port
port: 5432
# enable or disable database operator to create a schema for the application
operator: true
# JDBC url. Generated
# url: "jdbc:postgresql://localhost:5432/changeit"
# Database host, Generated
# host: app-postgresql
check:
# Enable or disable check database connection with init container
enabled: true
# name of the init container
name: check-db
# container image configuration
image:
# Docker registry
registry: "ghcr.io"
# Docker repository (application name)
repository: "onecx/onecx-db-check"
# Docker image tag (application version)
tag: "0.1.0"
# pull policy Always | IfNotPresent | Never
pull: IfNotPresent
# tag suffix for example native
suffix: "native"
# tag suffix seprator
separator: "-"
# configuration for the oidc extension
oidc:
# configuration for the oidc-client
client:
# define auth-url for the oidc-client
url:
# Kubernetes operator configuration
operator:
# secret-generator oprator
secretgenerator:
# enabled or disable secret-generator annotation
enabled: true
# reloader operator for configmap and secrets
reloader:
# enabled or disable reloader annotation
enabled: true
# enabled or disable auto reloader (all deployment references)
auto: true
# product store microservice
microservice:
# enable or disable configuration for operator
enabled: true
# CRD
spec:
# default deployment name (release_name-name)
appId:
# default release name (product name)
productName:
# application description (release_name-name)
description:
# default deployment name (release_name-name)
name:
# .Values.name or this type
type:
# permissions
permission:
# enable or disable configuration for operator
enabled: false
spec:
# default release name (product name)
productName:
# default deployment name (release_name-name)
appId:
# application name (release_name-name)
name:
# application description (release_name-name)
description:
# map of permissions
# resource:
# action: description
permissions:
# Data mgmt operator
data:
mgmt:
# enabled or disable config for operator
enabled: true
# database type POSTGRES
dbType: POSTGRES
# file prefix for the scenario
prefix:
# schema
schema: public
# microfrontend
microfrontend:
# enable or disable configuration for operator
enabled: false
# default remote entry path suffix
entrySuffix: remoteEntry.js
# map of <name, spec> of mfe spec ( see spec )
specs:
# definnition and default values for the list of spec 'specs'
spec:
# deprecated true | false
deprecated: false
# type oe mfe [ MODULE, COMPONENT ]
type: MODULE
# description text
description: change-me
# exposed module name
exposedModule: change-me
# icon name
iconName:
# note
note:
# remote name
remoteName:
# tag name
tagName:
# list of strings
classifications: []
# list of name and path
endpoints:
# - name:
# path:
# technology is free text
technology: ANGULAR
# contact email
contact: [email protected]
# default is app.routing.path
remoteBaseUrl:
# default is app.routing.path + entrySuffix
remoteEntry:
# default release name (product name)
productName:
# default deployment name (release_name-name or appId)
appId:
# default deployment name (release_name-name)
appName:
# Keycloak operator
keycloak:
# Keycloak client operator
client:
# enabled or disable config for operator
enabled: false
# Set password for secret of default name of app
password:
# secret configuration
secret:
# secret generator configuration
generator:
# enabled or disable secret generator annotation for kc client resource
enabled: true
# secret generator encoding base64 | base64url | base32 | hex
encoding: base64url
# definition
spec:
# keycloak realm where the client has to be created
realm:
# type of client. Current possibilities [ ui | machine ]
type: machine
# Name of Secret where the password is stored (alternative is to set kcConfig.password)
passwordSecrets:
# Key used in secret where password is stored
passwordKey:
# Configuration for the keycloak client
kcConfig:
# default deployment name (release_name-name)
clientId:
# description for the client
description:
# flag to enable/disable client in keycloak
enabled:
# client authenticator type (client-secret)
clientAuthenticatorType:
# Redirect uris (used for the ui client). List of Strings
redirectUris: []
# Web origins (user for the ui client). List of Strings
webOrigins: []
# Bearer only flag
bearerOnly:
# Standard flow enabled flag
standardFlowEnabled:
# Implicit flow enabled flag
implicitFlowEnabled:
# Direct access grants enable flag
directAccessGrantsEnabled:
# Service accounts enabled flag
serviceAccountsEnabled:
# Public client flag
publicClient:
# Protocol (openid-connect)
protocol:
# List of string scopes to be added as default
defaultClientScopes: []
# List of string scopes to be added as optional
optionalClientScopes: []
# Map of custom attributes
attributes:
#key1: value1
#key2: value2