Skip to content

Commit 569cca2

Browse files
authored
chore: add resource field to values file (#119)
1 parent 779f0fc commit 569cca2

File tree

15 files changed

+359
-135
lines changed

15 files changed

+359
-135
lines changed

mojaloop/account-lookup-service/values.yaml

+126-112
Large diffs are not rendered by default.

mojaloop/admin-api-svc/values.yaml

+25-10
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,14 @@ diagnosticMode:
120120
enabled: false
121121
## @param diagnosticMode.command Command to override all containers in the deployment
122122
##
123-
command:
123+
command:
124124
- node
125125
- src/api/index.js
126126
## @param diagnosticMode.args Args to override all containers in the deployment
127127
##
128128
args:
129129
- --inspect=0.0.0.0:{{ .Values.diagnosticMode.debug.port }}
130-
130+
131131
## @param diagnosticMode.debug config to override all debug information
132132
##
133133
debug:
@@ -151,13 +151,13 @@ initContainers:
151151
command:
152152
- sh
153153
- -c
154-
- until ./bin/kafka-broker-api-versions.sh --bootstrap-server ${KAFKA_HOST}:${KAFKA_PORT};
154+
- until ./bin/kafka-broker-api-versions.sh --bootstrap-server ${KAFKA_HOST}:${KAFKA_PORT};
155155
do
156156
echo --------------------;
157157
echo Waiting for Kafka...;
158-
sleep 2;
158+
sleep 2;
159159
done;
160-
echo ====================;
160+
echo ====================;
161161
echo Kafka ok!;
162162
env:
163163
- name: KAFKA_HOST
@@ -170,13 +170,13 @@ initContainers:
170170
command:
171171
- sh
172172
- -c
173-
- until mysql -h ${DB_HOST} -P ${DB_PORT} -u ${DB_USER} --password=${DB_PASSWORD} ${DB_DATABASE} -e 'select version()' ;
173+
- until mysql -h ${DB_HOST} -P ${DB_PORT} -u ${DB_USER} --password=${DB_PASSWORD} ${DB_DATABASE} -e 'select version()' ;
174174
do
175175
echo --------------------;
176176
echo Waiting for MySQL...;
177-
sleep 2;
177+
sleep 2;
178178
done;
179-
echo ====================;
179+
echo ====================;
180180
echo MySQL ok!;
181181
env:
182182
- name: DB_HOST
@@ -588,7 +588,7 @@ configFiles:
588588
"consumeTimeout": 1000
589589
},
590590
"rdkafkaConf": {
591-
"metadata.broker.list": {{ printf "%s:%s" (include "common.backends.centralbroker.host" .) (include "common.backends.centralbroker.port" .) | quote}},
591+
"metadata.broker.list": {{ printf "%s:%s" (include "common.backends.centralbroker.host" .) (include "common.backends.centralbroker.port" .) | quote}},
592592
"client.id": "cl-con-bulk-processing",
593593
"group.id": "cl-group-bulk-processing",
594594
"socket.keepalive.enable": true,
@@ -925,7 +925,7 @@ sidecar:
925925
repository: mojaloop/event-sidecar
926926
tag: v11.0.1
927927
pullPolicy: IfNotPresent
928-
command:
928+
command:
929929
- npm
930930
- run
931931
- start
@@ -1005,3 +1005,18 @@ sidecar:
10051005
}
10061006
}
10071007
}
1008+
1009+
## Configure resource requests and limits
1010+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
1011+
##
1012+
resources: {}
1013+
# We usually recommend not to specify default resources and to leave this as a conscious
1014+
# choice for the user. This also increases chances charts run on environments with little
1015+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
1016+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
1017+
# limits:
1018+
# cpu: 100m
1019+
# memory: 128Mi
1020+
# requests:
1021+
# cpu: 100m
1022+
# memory: 128Mi

mojaloop/fspiop-transfer-api-svc/values.yaml

+22-7
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ image:
103103
debug: false
104104

105105
replicaCount: 1
106-
command:
106+
command:
107107
- node
108108
- src/api/index.js
109109

@@ -115,14 +115,14 @@ diagnosticMode:
115115
enabled: false
116116
## @param diagnosticMode.command Command to override all containers in the deployment
117117
##
118-
command:
118+
command:
119119
- node
120120
- src/api/index.js
121121
## @param diagnosticMode.args Args to override all containers in the deployment
122122
##
123123
args:
124124
- --inspect=0.0.0.0:{{ .Values.diagnosticMode.debug.port }}
125-
125+
126126
## @param diagnosticMode.debug config to override all debug information
127127
##
128128
debug:
@@ -146,13 +146,13 @@ initContainers:
146146
command:
147147
- sh
148148
- -c
149-
- until ./bin/kafka-broker-api-versions.sh --bootstrap-server ${KAFKA_HOST}:${KAFKA_PORT};
149+
- until ./bin/kafka-broker-api-versions.sh --bootstrap-server ${KAFKA_HOST}:${KAFKA_PORT};
150150
do
151151
echo --------------------;
152152
echo Waiting for Kafka...;
153-
sleep 2;
153+
sleep 2;
154154
done;
155-
echo ====================;
155+
echo ====================;
156156
echo Kafka ok!;
157157
env:
158158
- name: KAFKA_HOST
@@ -565,7 +565,7 @@ sidecar:
565565
repository: mojaloop/event-sidecar
566566
tag: v11.0.1
567567
pullPolicy: IfNotPresent
568-
command:
568+
command:
569569
- npm
570570
- run
571571
- start
@@ -645,3 +645,18 @@ sidecar:
645645
}
646646
}
647647
}
648+
649+
## Configure resource requests and limits
650+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
651+
##
652+
resources: {}
653+
# We usually recommend not to specify default resources and to leave this as a conscious
654+
# choice for the user. This also increases chances charts run on environments with little
655+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
656+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
657+
# limits:
658+
# cpu: 100m
659+
# memory: 128Mi
660+
# requests:
661+
# cpu: 100m
662+
# memory: 128Mi

mojaloop/reporting-events-processor-svc/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -231,3 +231,18 @@ serviceAccount:
231231
## If not set and create is true, a name is generated using the common.names.fullname template
232232
##
233233
name: ""
234+
235+
## Configure resource requests and limits
236+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
237+
##
238+
resources: {}
239+
# We usually recommend not to specify default resources and to leave this as a conscious
240+
# choice for the user. This also increases chances charts run on environments with little
241+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
242+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
243+
# limits:
244+
# cpu: 100m
245+
# memory: 128Mi
246+
# requests:
247+
# cpu: 100m
248+
# memory: 128Mi

mojaloop/reporting-hub-bop-api-svc/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -398,3 +398,18 @@ serviceAccount:
398398
## If not set and create is true, a name is generated using the common.names.fullname template
399399
##
400400
name: ""
401+
402+
## Configure resource requests and limits
403+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
404+
##
405+
resources: {}
406+
# We usually recommend not to specify default resources and to leave this as a conscious
407+
# choice for the user. This also increases chances charts run on environments with little
408+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
409+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
410+
# limits:
411+
# cpu: 100m
412+
# memory: 128Mi
413+
# requests:
414+
# cpu: 100m
415+
# memory: 128Mi

mojaloop/reporting-hub-bop-experience-api-svc/values.yaml

+16-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ sidecar:
378378
repository: mojaloop/event-sidecar
379379
tag: v11.0.1
380380
pullPolicy: IfNotPresent
381-
command:
381+
command:
382382
- npm
383383
- run
384384
- start
@@ -458,3 +458,18 @@ sidecar:
458458
}
459459
}
460460
}
461+
462+
## Configure resource requests and limits
463+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
464+
##
465+
resources: {}
466+
# We usually recommend not to specify default resources and to leave this as a conscious
467+
# choice for the user. This also increases chances charts run on environments with little
468+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
469+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
470+
# limits:
471+
# cpu: 100m
472+
# memory: 128Mi
473+
# requests:
474+
# cpu: 100m
475+
# memory: 128Mi

mojaloop/reporting-hub-bop-positions-ui/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -345,3 +345,18 @@ serviceAccount:
345345

346346
configFiles:
347347
default.json: {}
348+
349+
## Configure resource requests and limits
350+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
351+
##
352+
resources: {}
353+
# We usually recommend not to specify default resources and to leave this as a conscious
354+
# choice for the user. This also increases chances charts run on environments with little
355+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
356+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
357+
# limits:
358+
# cpu: 100m
359+
# memory: 128Mi
360+
# requests:
361+
# cpu: 100m
362+
# memory: 128Mi

mojaloop/reporting-hub-bop-role-ui/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,18 @@ serviceAccount:
346346

347347
configFiles:
348348
default.json: {}
349+
350+
## Configure resource requests and limits
351+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
352+
##
353+
resources: {}
354+
# We usually recommend not to specify default resources and to leave this as a conscious
355+
# choice for the user. This also increases chances charts run on environments with little
356+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
357+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
358+
# limits:
359+
# cpu: 100m
360+
# memory: 128Mi
361+
# requests:
362+
# cpu: 100m
363+
# memory: 128Mi

mojaloop/reporting-hub-bop-settlements-ui/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -347,3 +347,18 @@ serviceAccount:
347347

348348
configFiles:
349349
default.json: {}
350+
351+
## Configure resource requests and limits
352+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
353+
##
354+
resources: {}
355+
# We usually recommend not to specify default resources and to leave this as a conscious
356+
# choice for the user. This also increases chances charts run on environments with little
357+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
358+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
359+
# limits:
360+
# cpu: 100m
361+
# memory: 128Mi
362+
# requests:
363+
# cpu: 100m
364+
# memory: 128Mi

mojaloop/reporting-hub-bop-shell/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -361,3 +361,18 @@ serviceAccount:
361361

362362
configFiles:
363363
default.json: {}
364+
365+
## Configure resource requests and limits
366+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
367+
##
368+
resources: {}
369+
# We usually recommend not to specify default resources and to leave this as a conscious
370+
# choice for the user. This also increases chances charts run on environments with little
371+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
372+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
373+
# limits:
374+
# cpu: 100m
375+
# memory: 128Mi
376+
# requests:
377+
# cpu: 100m
378+
# memory: 128Mi

mojaloop/reporting-hub-bop-trx-ui/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,18 @@ serviceAccount:
346346

347347
configFiles:
348348
default.json: {}
349+
350+
## Configure resource requests and limits
351+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
352+
##
353+
resources: {}
354+
# We usually recommend not to specify default resources and to leave this as a conscious
355+
# choice for the user. This also increases chances charts run on environments with little
356+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
357+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
358+
# limits:
359+
# cpu: 100m
360+
# memory: 128Mi
361+
# requests:
362+
# cpu: 100m
363+
# memory: 128Mi

mojaloop/reporting-legacy-api/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -358,3 +358,18 @@ serviceAccount:
358358
## If not set and create is true, a name is generated using the common.names.fullname template
359359
##
360360
name: ""
361+
362+
## Configure resource requests and limits
363+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
364+
##
365+
resources: {}
366+
# We usually recommend not to specify default resources and to leave this as a conscious
367+
# choice for the user. This also increases chances charts run on environments with little
368+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
369+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
370+
# limits:
371+
# cpu: 100m
372+
# memory: 128Mi
373+
# requests:
374+
# cpu: 100m
375+
# memory: 128Mi

mojaloop/role-assignment-service/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -421,3 +421,18 @@ configFiles:
421421
"http://reporting-hub-bop-role-ui.local"
422422
]
423423
}
424+
425+
## Configure resource requests and limits
426+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
427+
##
428+
resources: {}
429+
# We usually recommend not to specify default resources and to leave this as a conscious
430+
# choice for the user. This also increases chances charts run on environments with little
431+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
432+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
433+
# limits:
434+
# cpu: 100m
435+
# memory: 128Mi
436+
# requests:
437+
# cpu: 100m
438+
# memory: 128Mi

mojaloop/security-hub-bop-kratos-ui/values.yaml

+15
Original file line numberDiff line numberDiff line change
@@ -342,3 +342,18 @@ serviceAccount:
342342

343343
configFiles:
344344
default.json: {}
345+
346+
## Configure resource requests and limits
347+
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
348+
##
349+
resources: {}
350+
# We usually recommend not to specify default resources and to leave this as a conscious
351+
# choice for the user. This also increases chances charts run on environments with little
352+
# resources, such as Minikube. If you do want to specify resources, uncomment the following
353+
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
354+
# limits:
355+
# cpu: 100m
356+
# memory: 128Mi
357+
# requests:
358+
# cpu: 100m
359+
# memory: 128Mi

0 commit comments

Comments
 (0)