15
15
spec :
16
16
containers :
17
17
- name : id-web-container
18
- image : gcr.io /boldreports/bold-identity:5.4.30
18
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ bold-identity:6.1.34
19
19
ports :
20
20
- containerPort : 80
21
21
resources :
63
63
labels :
64
64
app : id-api
65
65
spec :
66
+ initContainers :
67
+ - name : id-web-initialization
68
+ image : busybox:1.28
69
+ command : ["/bin/sh","-c"]
70
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
71
+ volumeMounts :
72
+ - mountPath : /application/app_data
73
+ name : id-api-volume
66
74
containers :
67
75
- name : id-api-container
68
- image : gcr.io /boldreports/bold-idp-api:5.4.30
76
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ bold-idp-api:6.1.34
69
77
ports :
70
78
- containerPort : 80
71
79
resources :
@@ -108,9 +116,17 @@ spec:
108
116
labels :
109
117
app : id-ums
110
118
spec :
119
+ initContainers :
120
+ - name : id-web-initialization
121
+ image : busybox:1.28
122
+ command : ["/bin/sh","-c"]
123
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
124
+ volumeMounts :
125
+ - mountPath : /application/app_data
126
+ name : id-ums-volume
111
127
containers :
112
128
- name : id-ums-container
113
- image : gcr.io /boldreports/bold-ums:5.4.30
129
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ bold-ums:6.1.34
114
130
ports :
115
131
- containerPort : 80
116
132
resources :
@@ -153,9 +169,17 @@ spec:
153
169
labels :
154
170
app : reports-web
155
171
spec :
172
+ initContainers :
173
+ - name : id-web-initialization
174
+ image : busybox:1.28
175
+ command : ["/bin/sh","-c"]
176
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
177
+ volumeMounts :
178
+ - mountPath : /application/app_data
179
+ name : reports-web-volume
156
180
containers :
157
181
- name : reports-web-container
158
- image : gcr.io /boldreports/boldreports-server:5.4.30
182
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ boldreports-server:6.1.34
159
183
ports :
160
184
- containerPort : 80
161
185
resources :
@@ -197,9 +221,17 @@ spec:
197
221
labels :
198
222
app : reports-api
199
223
spec :
224
+ initContainers :
225
+ - name : id-web-initialization
226
+ image : busybox:1.28
227
+ command : ["/bin/sh","-c"]
228
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
229
+ volumeMounts :
230
+ - mountPath : /application/app_data
231
+ name : reports-api-volume
200
232
containers :
201
233
- name : reports-api-container
202
- image : gcr.io /boldreports/boldreports-server-api:5.4.30
234
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ boldreports-server-api:6.1.34
203
235
ports :
204
236
- containerPort : 80
205
237
resources :
@@ -241,9 +273,17 @@ spec:
241
273
labels :
242
274
app : reports-jobs
243
275
spec :
276
+ initContainers :
277
+ - name : id-web-initialization
278
+ image : busybox:1.28
279
+ command : ["/bin/sh","-c"]
280
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
281
+ volumeMounts :
282
+ - mountPath : /application/app_data
283
+ name : reports-jobs-volume
244
284
containers :
245
285
- name : reports-jobs-container
246
- image : gcr.io /boldreports/boldreports-server-jobs:5.4.30
286
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ boldreports-server-jobs:6.1.34
247
287
ports :
248
288
- containerPort : 80
249
289
resources :
@@ -285,9 +325,17 @@ spec:
285
325
labels :
286
326
app : reports-reportservice
287
327
spec :
328
+ initContainers :
329
+ - name : id-web-initialization
330
+ image : busybox:1.28
331
+ command : ["/bin/sh","-c"]
332
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
333
+ volumeMounts :
334
+ - mountPath : /application/app_data
335
+ name : reports-reportservice-volume
288
336
containers :
289
337
- name : reports-reportservice-container
290
- image : gcr.io /boldreports/boldreports-designer:5.4.30
338
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ boldreports-designer:6.1.34
291
339
ports :
292
340
- containerPort : 80
293
341
resources :
@@ -329,9 +377,17 @@ spec:
329
377
labels :
330
378
app : reports-viewer
331
379
spec :
380
+ initContainers :
381
+ - name : id-web-initialization
382
+ image : busybox:1.28
383
+ command : ["/bin/sh","-c"]
384
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
385
+ volumeMounts :
386
+ - mountPath : /application/app_data
387
+ name : reports-viewer-volume
332
388
containers :
333
389
- name : reports-viewer-container
334
- image : gcr.io /boldreports/boldreports-viewer:5.4.30
390
+ image : us-docker.pkg.dev /boldreports/v6-1-34/ boldreports-viewer:6.1.34
335
391
ports :
336
392
- containerPort : 80
337
393
resources :
@@ -354,6 +410,62 @@ spec:
354
410
persistentVolumeClaim :
355
411
claimName : bold-services-fileserver-claim
356
412
readOnly : false
413
+ - name : log4net-config-volume
414
+ configMap :
415
+ name : log4net-config
416
+ ---
417
+ apiVersion : apps/v1
418
+ kind : Deployment
419
+ metadata :
420
+ name : bold-etl-deployment
421
+ namespace : bold-services
422
+ spec :
423
+ selector :
424
+ matchLabels :
425
+ app : bold-etl
426
+ replicas : 1
427
+ template :
428
+ metadata :
429
+ labels :
430
+ app : bold-etl
431
+ spec :
432
+ initContainers :
433
+ - name : id-web-initialization
434
+ image : busybox:1.28
435
+ command : ["/bin/sh","-c"]
436
+ args : ["if [ ! -f /application/app_data/configuration/config.xml ]; then echo waiting for id-web; sleep 5; else echo config.xml file exist; fi"]
437
+ volumeMounts :
438
+ - mountPath : /application/app_data
439
+ name : bold-etl-volume
440
+ containers :
441
+ - name : bold-etl-container
442
+ image : us-docker.pkg.dev/boldreports/v6-1-34/bold-etl:6.1.34
443
+ ports :
444
+ - containerPort : 80
445
+ env :
446
+ - name : BOLD_SERVICES_HOSTING_ENVIRONMENT
447
+ value : k8s
448
+ resources :
449
+ requests :
450
+ cpu : 250m
451
+ memory : 750Mi
452
+ readinessProbe :
453
+ httpGet :
454
+ path : /health-check
455
+ port : 80
456
+ initialDelaySeconds : 20
457
+ periodSeconds : 15
458
+ timeoutSeconds : 5
459
+ volumeMounts :
460
+ - mountPath : /application/app_data
461
+ name : bold-etl-volume
462
+ - mountPath : /application/etl/etlservice/logs/k8s
463
+ name : log4net-config-volume
464
+ volumes :
465
+ - name : bold-etl-volume
466
+ persistentVolumeClaim :
467
+ claimName : bold-services-fileserver-claim
468
+ readOnly : false
357
469
- name : log4net-config-volume
358
470
configMap :
359
471
name : log4net-config
0 commit comments