Skip to content

Commit

Permalink
fix(csi-550): added UV_THREADPOOL_SIZE env var to QS-handler (#654)
Browse files Browse the repository at this point in the history
* fix(csi-550): added UV_THREADPOOL_SIZE env var to QS-handler

* fix(csi-550): ++ QS chart version

* fix(csi-550): ++ QS chart version
  • Loading branch information
geka-evk authored Sep 5, 2024
1 parent bb64c02 commit 9eda28d
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 5 deletions.
2 changes: 1 addition & 1 deletion quoting-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: Quoting-Service Helm chart for Kubernetes
name: quoting-service
version: 15.8.0
appVersion: v15.8.0
appVersion: v15.8.0-snapshot.40
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion quoting-service/chart-handler/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: Quoting-Service Handler Helm chart for Kubernetes
name: quoting-service-handler
version: 15.8.0
appVersion: v15.8.0-snapshot.36
appVersion: v15.8.0-snapshot.40
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
8 changes: 8 additions & 0 deletions quoting-service/chart-handler/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ spec:
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
{{- end }}
env:
{{- if .Values.env }}
{{- range $key, $val := .Values.env }}
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
{{- end }}
- name: QUOTE_DATABASE__PASSWORD
{{- if .Values.config.db_secret }}
valueFrom:
Expand Down Expand Up @@ -138,6 +144,8 @@ spec:
value: {{ .Values.config.event_async_override | quote }}
- name: EVENT_SDK_TRACEID_PER_VENDOR
value: {{ .Values.config.event_traceid_per_vendor | quote }}
- name: UV_THREADPOOL_SIZE
value: {{ .Values.config.uv_threadpool_size | quote }}
volumeMounts:
- name: {{ template "quotingservice-handler.fullname" . }}-config-volume
mountPath: /opt/app/config
Expand Down
8 changes: 7 additions & 1 deletion quoting-service/chart-handler/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ global: {}
image:
registry: docker.io
repository: mojaloop/quoting-service
tag: v15.8.0-snapshot.36
tag: v15.8.0-snapshot.40
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down Expand Up @@ -231,6 +231,12 @@ config:
- host: proxy-cache-redis
port: 6379

uv_threadpool_size: 20

## To pass arbitrary environment variables to the deployment
# env:
# KEY: value

rules: []

## @param initContainers Add additional init containers to the %%MAIN_CONTAINER_NAME%% pod(s)
Expand Down
2 changes: 1 addition & 1 deletion quoting-service/chart-service/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
description: Quoting-Service API Helm chart for Kubernetes
name: quoting-service
version: 15.8.0
appVersion: v15.8.0-snapshot.36
appVersion: v15.8.0-snapshot.40
home: http://mojaloop.io
icon: http://mojaloop.io/images/logo.png
sources:
Expand Down
2 changes: 1 addition & 1 deletion quoting-service/chart-service/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ global: {}
image:
registry: docker.io
repository: mojaloop/quoting-service
tag: v15.8.0-snapshot.36
tag: v15.8.0-snapshot.40
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
Expand Down

0 comments on commit 9eda28d

Please sign in to comment.