Skip to content
Closed
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 charts/midaz/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ maintainers:
email: "support@lerian.studio"
# This is the chart version. This version number should be incremented each time you make changes
# to he chart and its templates, including the app version.
version: 8.6.0
version: 8.6.1
# This is the version number of the application being deployed.
appVersion: "3.7.8"
# A list of keywords about the chart. This helps others discover the chart.
Expand Down
30 changes: 30 additions & 0 deletions charts/midaz/templates/ledger/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,36 @@ data:
ALLOW_RATELIMIT_DISABLED: {{ .Values.ledger.configmap.ALLOW_RATELIMIT_DISABLED | default "" | quote }}
ALLOW_RATELIMIT_FAIL_OPEN: {{ .Values.ledger.configmap.ALLOW_RATELIMIT_FAIL_OPEN | default "" | quote }}

# =============================================================================
# CRM MODULE (collapsed into ledger — midaz v4 monorepo)
# =============================================================================
MONGO_CRM_URI: {{ .Values.ledger.configmap.MONGO_CRM_URI | default "mongodb" | quote }}
MONGO_CRM_HOST: {{ .Values.ledger.configmap.MONGO_CRM_HOST | default "" | quote }}
MONGO_CRM_NAME: {{ .Values.ledger.configmap.MONGO_CRM_NAME | default "" | quote }}
MONGO_CRM_USER: {{ .Values.ledger.configmap.MONGO_CRM_USER | default "" | quote }}
MONGO_CRM_PORT: {{ .Values.ledger.configmap.MONGO_CRM_PORT | default "27017" | quote }}
MONGO_CRM_MAX_POOL_SIZE: {{ .Values.ledger.configmap.MONGO_CRM_MAX_POOL_SIZE | default "20" | quote }}
MONGO_CRM_PARAMETERS: {{ .Values.ledger.configmap.MONGO_CRM_PARAMETERS | default "" | quote }}
KMS_VENDOR: {{ .Values.ledger.configmap.KMS_VENDOR | default "none" | quote }}

# =============================================================================
# FEES MODULE (collapsed into ledger — midaz v4 monorepo)
# =============================================================================
MONGO_FEES_URI: {{ .Values.ledger.configmap.MONGO_FEES_URI | default "mongodb" | quote }}
MONGO_FEES_HOST: {{ .Values.ledger.configmap.MONGO_FEES_HOST | default "" | quote }}
MONGO_FEES_NAME: {{ .Values.ledger.configmap.MONGO_FEES_NAME | default "" | quote }}
MONGO_FEES_USER: {{ .Values.ledger.configmap.MONGO_FEES_USER | default "" | quote }}
MONGO_FEES_PORT: {{ .Values.ledger.configmap.MONGO_FEES_PORT | default "27017" | quote }}
MONGO_FEES_MAX_POOL_SIZE: {{ .Values.ledger.configmap.MONGO_FEES_MAX_POOL_SIZE | default "100" | quote }}
MONGO_FEES_PARAMETERS: {{ .Values.ledger.configmap.MONGO_FEES_PARAMETERS | default "" | quote }}

# =============================================================================
# TRACER SEAM (client side; empty TRACER_BASE_URL disables the integration)
# =============================================================================
TRACER_BASE_URL: {{ .Values.ledger.configmap.TRACER_BASE_URL | default "" | quote }}
TRACER_TRANSPORT: {{ .Values.ledger.configmap.TRACER_TRANSPORT | default "rest" | quote }}
TRACER_TLS_MODE: {{ .Values.ledger.configmap.TRACER_TLS_MODE | default "" | quote }}

# Extra Env Vars
{{- with .Values.ledger.extraEnvVars }}
{{- toYaml . | nindent 2 }}
Expand Down
19 changes: 19 additions & 0 deletions charts/midaz/templates/ledger/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,25 @@ data:
{{- end }}
{{- end }}

# =============================================================================
# DATA SECURITY + CRM/FEES SECRETS (collapsed into ledger — midaz v4 monorepo)
# LCRYPTO_* is app crypto material; MONGO_CRM/FEES_PASSWORD authenticate the
# collapsed CRM/Fees Mongo connections. All operator-provided; only emitted
# when set so existing deployments are unaffected.
# =============================================================================
{{- if .Values.ledger.secrets.LCRYPTO_HASH_SECRET_KEY }}
LCRYPTO_HASH_SECRET_KEY: {{ .Values.ledger.secrets.LCRYPTO_HASH_SECRET_KEY | b64enc | quote }}
{{- end }}
{{- if .Values.ledger.secrets.LCRYPTO_ENCRYPT_SECRET_KEY }}
LCRYPTO_ENCRYPT_SECRET_KEY: {{ .Values.ledger.secrets.LCRYPTO_ENCRYPT_SECRET_KEY | b64enc | quote }}
{{- end }}
{{- if .Values.ledger.secrets.MONGO_CRM_PASSWORD }}
MONGO_CRM_PASSWORD: {{ .Values.ledger.secrets.MONGO_CRM_PASSWORD | b64enc | quote }}
{{- end }}
{{- if .Values.ledger.secrets.MONGO_FEES_PASSWORD }}
MONGO_FEES_PASSWORD: {{ .Values.ledger.secrets.MONGO_FEES_PASSWORD | b64enc | quote }}
{{- end }}

# =============================================================================
# STREAMING SECRETS (lib-streaming — SASL password + TLS CA, operator-provided)
# =============================================================================
Expand Down
27 changes: 27 additions & 0 deletions charts/midaz/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,27 @@ ledger:
RATE_LIMIT_REDIS_TIMEOUT_MS: "500"
ALLOW_RATELIMIT_DISABLED: ""
ALLOW_RATELIMIT_FAIL_OPEN: ""
# -- CRM module (collapsed into ledger — midaz v4 monorepo). Safe empty defaults.
MONGO_CRM_URI: ""
MONGO_CRM_HOST: ""
MONGO_CRM_NAME: ""
MONGO_CRM_USER: ""
MONGO_CRM_PORT: ""
MONGO_CRM_MAX_POOL_SIZE: ""
MONGO_CRM_PARAMETERS: ""
KMS_VENDOR: ""
# -- Fees module (collapsed into ledger — midaz v4 monorepo). Safe empty defaults.
MONGO_FEES_URI: ""
MONGO_FEES_HOST: ""
MONGO_FEES_NAME: ""
MONGO_FEES_USER: ""
MONGO_FEES_PORT: ""
MONGO_FEES_MAX_POOL_SIZE: ""
MONGO_FEES_PARAMETERS: ""
# -- Tracer seam (client side); empty TRACER_BASE_URL disables the integration.
TRACER_BASE_URL: ""
TRACER_TRANSPORT: ""
TRACER_TLS_MODE: ""
# -- Existing secrets name
useExistingSecret: false
existingSecretName: ""
Expand Down Expand Up @@ -330,6 +351,12 @@ ledger:
# they are rendered into the ledger Secret (never the ConfigMap).
STREAMING_SASL_PASSWORD: ""
STREAMING_TLS_CA_CERT: ""
# -- Data security + CRM/Fees material (collapsed into ledger — midaz v4
# monorepo). Operator-provided; only rendered into the ledger Secret when set.
LCRYPTO_HASH_SECRET_KEY: ""
LCRYPTO_ENCRYPT_SECRET_KEY: ""
MONGO_CRM_PASSWORD: ""
MONGO_FEES_PASSWORD: ""
serviceAccount:
# -- Specifies whether a ServiceAccount should be created
create: true
Expand Down
2 changes: 1 addition & 1 deletion charts/tracer/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainers:
- name: "Lerian Studio"
email: "support@lerian.studio"

version: 2.1.0
version: 2.1.1

appVersion: "1.0.0"

Expand Down
5 changes: 5 additions & 0 deletions charts/tracer/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ data:
CLEANUP_WORKER_ENABLED: {{ .Values.tracer.configmap.CLEANUP_WORKER_ENABLED | default "false" | quote }}
CLEANUP_INTERVAL_HOURS: {{ .Values.tracer.configmap.CLEANUP_INTERVAL_HOURS | default "24" | quote }}

# Reservation Reaper + Rule Sync (midaz v4 monorepo)
RESERVATION_REAPER_ENABLED: {{ .Values.tracer.configmap.RESERVATION_REAPER_ENABLED | default "false" | quote }}
RESERVATION_REAPER_INTERVAL_SECONDS: {{ .Values.tracer.configmap.RESERVATION_REAPER_INTERVAL_SECONDS | default "30" | quote }}
RULE_SYNC_POLL_INTERVAL_SECONDS: {{ .Values.tracer.configmap.RULE_SYNC_POLL_INTERVAL_SECONDS | default "10" | quote }}

# Multi-Tenant
MULTI_TENANT_ENABLED: {{ .Values.tracer.configmap.MULTI_TENANT_ENABLED | default "false" | quote }}
{{- if eq (.Values.tracer.configmap.MULTI_TENANT_ENABLED | default "false" | toString) "true" }}
Expand Down
5 changes: 5 additions & 0 deletions charts/tracer/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,11 @@ tracer:
CLEANUP_WORKER_ENABLED: "false"
CLEANUP_INTERVAL_HOURS: "24"

# Reservation Reaper + Rule Sync (midaz v4 monorepo)
RESERVATION_REAPER_ENABLED: "false"
RESERVATION_REAPER_INTERVAL_SECONDS: "30"
RULE_SYNC_POLL_INTERVAL_SECONDS: "10"

# Multi-Tenant
# -- Enable multi-tenant mode. When true, the following fields are required:
# MULTI_TENANT_URL, MULTI_TENANT_REDIS_HOST, secrets.MULTI_TENANT_SERVICE_API_KEY.
Expand Down
Loading