Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(csi-550): added UV_THREADPOOL_SIZE env var to QS-handler #654

Merged
merged 3 commits into from
Sep 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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