Skip to content

Commit 86e4953

Browse files
committed
chore(release): Update appVersion to 3.6.1 and modify service configurations
- Updated appVersion in Chart.yaml to 3.6.1. - Disabled onboarding and transaction services in values.yaml. - Enabled ledger service in values.yaml. - Added new environment variables for multi-tenancy support in configmap.yaml files for both CRM and ledger services.
1 parent 8b6ad6d commit 86e4953

4 files changed

Lines changed: 38 additions & 5 deletions

File tree

charts/midaz/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ maintainers:
2020
version: 5.7.0
2121

2222
# This is the version number of the application being deployed.
23-
appVersion: "3.5.3"
23+
appVersion: "3.6.1"
2424

2525
# A list of keywords about the chart. This helps others discover the chart.
2626
keywords:

charts/midaz/templates/crm/configmap.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ data:
1010
ENV_NAME: {{ .Values.crm.configmap.ENV_NAME | default "development" | quote }}
1111

1212
# APP
13+
APPLICATION_NAME: {{ .Values.crm.configmap.APPLICATION_NAME | default "ledger" | quote }}
1314
SERVER_PORT: {{ .Values.crm.configmap.SERVER_PORT | default "4003" | quote }}
1415
SERVER_ADDRESS: {{ .Values.crm.configmap.SERVER_ADDRESS | default ":4003" | quote }}
1516
VERSION: "v{{ .Values.crm.image.tag | default .Chart.AppVersion }}"
@@ -22,6 +23,7 @@ data:
2223
MONGO_USER: {{ .Values.crm.configmap.MONGO_USER | default "midaz" | quote }}
2324
MONGO_MAX_POOL_SIZE: {{ .Values.crm.configmap.MONGO_MAX_POOL_SIZE | default "1000" | quote }}
2425
MONGO_PARAMETERS: {{ .Values.crm.configmap.MONGO_PARAMETERS | default "" | quote }}
26+
MONGO_TLS_CA_CERT: {{ .Values.crm.configmap.MONGO_TLS_CA_CERT | default "" | quote }}
2527

2628
# SWAGGER
2729
SWAGGER_TITLE: {{ .Values.crm.configmap.SWAGGER_TITLE | default "CRM" | quote }}
@@ -49,6 +51,9 @@ data:
4951
PLUGIN_AUTH_ADDRESS: {{ .Values.crm.configmap.PLUGIN_AUTH_ADDRESS | default "plugin-auth" | quote }}
5052
PLUGIN_AUTH_ENABLED: {{ .Values.crm.configmap.PLUGIN_AUTH_ENABLED | default "false" | quote }}
5153

54+
# MULTI-TENANT
55+
MULTI_TENANT_ENABLED: {{ .Values.crm.configmap.MULTI_TENANT_ENABLED | default "false" | quote }}
56+
5257
# Extra Env Vars
5358
{{- with .Values.crm.extraEnvVars }}
5459
{{- toYaml . | nindent 2 }}

charts/midaz/templates/ledger/configmap.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ data:
3333
PLUGIN_AUTH_ENABLED: {{ .Values.ledger.configmap.PLUGIN_AUTH_ENABLED | default "false" | quote }}
3434
PLUGIN_AUTH_HOST: {{ .Values.ledger.configmap.PLUGIN_AUTH_HOST | default "" | quote }}
3535

36+
# =============================================================================
37+
# MULTI-TENANT
38+
# =============================================================================
39+
MULTI_TENANT_ENABLED: {{ .Values.ledger.configmap.MULTI_TENANT_ENABLED | default "false" | quote }}
40+
3641
# =============================================================================
3742
# ACCOUNTING CONFIG
3843
# =============================================================================
@@ -68,6 +73,7 @@ data:
6873
MONGO_ONBOARDING_PORT: {{ .Values.ledger.configmap.MONGO_ONBOARDING_PORT | default "27017" | quote }}
6974
MONGO_ONBOARDING_MAX_POOL_SIZE: {{ .Values.ledger.configmap.MONGO_ONBOARDING_MAX_POOL_SIZE | default "1000" | quote }}
7075
MONGO_ONBOARDING_PARAMETERS: {{ .Values.ledger.configmap.MONGO_ONBOARDING_PARAMETERS | default "" | quote }}
76+
MONGO_ONBOARDING_TLS_CA_CERT: {{ .Values.ledger.configmap.MONGO_ONBOARDING_TLS_CA_CERT | default "" | quote }}
7177

7278
# =============================================================================
7379
# DB POSTGRESQL - TRANSACTION MODULE
@@ -98,6 +104,7 @@ data:
98104
MONGO_TRANSACTION_PORT: {{ .Values.ledger.configmap.MONGO_TRANSACTION_PORT | default "27017" | quote }}
99105
MONGO_TRANSACTION_MAX_POOL_SIZE: {{ .Values.ledger.configmap.MONGO_TRANSACTION_MAX_POOL_SIZE | default "1000" | quote }}
100106
MONGO_TRANSACTION_PARAMETERS: {{ .Values.ledger.configmap.MONGO_TRANSACTION_PARAMETERS | default "" | quote }}
107+
MONGO_TRANSACTION_TLS_CA_CERT: {{ .Values.ledger.configmap.MONGO_TRANSACTION_TLS_CA_CERT | default "" | quote }}
101108

102109
# =============================================================================
103110
# REDIS (shared between modules)
@@ -151,6 +158,27 @@ data:
151158
RABBITMQ_TRANSACTION_BALANCE_OPERATION_KEY: {{ .Values.ledger.configmap.RABBITMQ_TRANSACTION_BALANCE_OPERATION_KEY | default "transaction.transaction_balance_operation.key" | quote }}
152159
RABBITMQ_TRANSACTION_BALANCE_OPERATION_QUEUE: {{ .Values.ledger.configmap.RABBITMQ_TRANSACTION_BALANCE_OPERATION_QUEUE | default "transaction.transaction_balance_operation.queue" | quote }}
153160
RABBITMQ_TRANSACTION_ASYNC: {{ .Values.ledger.configmap.RABBITMQ_TRANSACTION_ASYNC | default "false" | quote }}
161+
RABBITMQ_VHOST: {{ .Values.ledger.configmap.RABBITMQ_VHOST | default "" | quote }}
162+
163+
# =============================================================================
164+
# RABBITMQ CIRCUIT BREAKER
165+
# =============================================================================
166+
RABBITMQ_CIRCUIT_BREAKER_CONSECUTIVE_FAILURES: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_CONSECUTIVE_FAILURES | default "15" | quote }}
167+
RABBITMQ_CIRCUIT_BREAKER_FAILURE_RATIO: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_FAILURE_RATIO | default "50" | quote }}
168+
RABBITMQ_CIRCUIT_BREAKER_INTERVAL: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_INTERVAL | default "120" | quote }}
169+
RABBITMQ_CIRCUIT_BREAKER_MAX_REQUESTS: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_MAX_REQUESTS | default "3" | quote }}
170+
RABBITMQ_CIRCUIT_BREAKER_MIN_REQUESTS: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_MIN_REQUESTS | default "10" | quote }}
171+
RABBITMQ_CIRCUIT_BREAKER_TIMEOUT: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_TIMEOUT | default "30" | quote }}
172+
RABBITMQ_CIRCUIT_BREAKER_HEALTH_CHECK_INTERVAL: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_HEALTH_CHECK_INTERVAL | default "30" | quote }}
173+
RABBITMQ_CIRCUIT_BREAKER_HEALTH_CHECK_TIMEOUT: {{ .Values.ledger.configmap.RABBITMQ_CIRCUIT_BREAKER_HEALTH_CHECK_TIMEOUT | default "10" | quote }}
174+
175+
# =============================================================================
176+
# BULK RECORDER
177+
# =============================================================================
178+
BULK_RECORDER_ENABLED: {{ .Values.ledger.configmap.BULK_RECORDER_ENABLED | default "true" | quote }}
179+
BULK_RECORDER_SIZE: {{ .Values.ledger.configmap.BULK_RECORDER_SIZE | default "0" | quote }}
180+
BULK_RECORDER_FLUSH_TIMEOUT_MS: {{ .Values.ledger.configmap.BULK_RECORDER_FLUSH_TIMEOUT_MS | default "100" | quote }}
181+
BULK_RECORDER_MAX_ROWS_PER_INSERT: {{ .Values.ledger.configmap.BULK_RECORDER_MAX_ROWS_PER_INSERT | default "1000" | quote }}
154182

155183
# TRANSACTION EXCHANGE EVENTS
156184
RABBITMQ_TRANSACTION_EVENTS_ENABLED: {{ .Values.ledger.configmap.RABBITMQ_TRANSACTION_EVENTS_ENABLED | default "false" | quote }}

charts/midaz/values.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ onboarding:
7373

7474
# -- Enable or disable the onboarding service
7575
# -- When ledger.enabled is true, this service will not be deployed unless migration.allowAllServices is true
76-
enabled: true
76+
enabled: false
7777

7878
# -- Number of replicas for the onboarding service
7979
replicaCount: 2
@@ -270,7 +270,7 @@ transaction:
270270

271271
# -- Enable or disable the transaction service
272272
# -- When ledger.enabled is true, this service will not be deployed unless migration.allowAllServices is true
273-
enabled: true
273+
enabled: false
274274

275275
# -- Number of old ReplicaSets to retain for deployment rollback
276276
revisionHistoryLimit: 10
@@ -478,7 +478,7 @@ ledger:
478478
# -- Enable or disable the ledger service (unified onboarding + transaction)
479479
# -- When enabled, onboarding and transaction services will not be deployed unless migration.allowAllServices is true
480480
# -- NOTE: migration.allowAllServices is not in the public values.yaml - set it in your override values for internal testing
481-
enabled: false
481+
enabled: true
482482

483483
# -- Number of replicas for the ledger service
484484
replicaCount: 2
@@ -492,7 +492,7 @@ ledger:
492492
# -- Image pull policy
493493
pullPolicy: IfNotPresent
494494
# -- Image tag used for deployment
495-
tag: "3.5.3"
495+
tag: "3.6.1"
496496

497497
# -- Secrets for pulling images from a private registry
498498
imagePullSecrets: []

0 commit comments

Comments
 (0)