This is a patch release that updates the application version from 1.2.0 to 1.2.1 and consolidates TLS/HTTP security configuration. The chart now uses a single environment variable (ALLOW_INSECURE_TLS) to control both plaintext datastore connections and plain-HTTP upstream calls, replacing the deprecated MULTI_TENANT_ALLOW_INSECURE_HTTP.
| Setting | v0.5.2 | v0.5.3 |
|---|---|---|
| Chart Version | 0.5.2 | 0.5.3 |
| App Version | 1.2.0 | 1.2.1 |
| API Image Tag | 1.2.0 | 1.2.1 |
| Migrations Image Tag | 1.2.0 | 1.2.1 |
The chart now ships application version 1.2.1 (previously 1.2.0). All component images are updated to this tag:
Before (v0.5.2):
appVersion: "1.2.0"
api:
image:
tag: "" # Falls back to 1.2.0
migrations:
image:
tag: "1.2.0"
After (v0.5.3):
appVersion: "1.2.1"
api:
image:
tag: "" # Falls back to 1.2.1
migrations:
image:
tag: "1.2.1"
Operational impact:
api.image.tag explicitly, the upgrade will pull the new 1.2.1 image and roll out API and worker podsapi.image.tag to a specific version, your override takes precedence and no image change occurs1.2.1 migrations image on the next helm upgradeNote: The 1.2.1 application release includes the security configuration consolidation described below. No other functional changes are documented in this chart upgrade.
The ALLOW_INSECURE_TLS environment variable now controls both plaintext datastore connections (Redis, Postgres) and plain-HTTP upstream calls (ledger, Access Manager, Tenant Manager, tenant jd.base_url, indirect-participant delivery).
Before (v0.5.2):
The chart documentation and template comments described ALLOW_INSECURE_TLS as controlling only internal datastore TLS:
# _helpers.tpl comment (v0.5.2):
# ALLOW_INSECURE_TLS is deliberately NOT here: the app treats it as the one
# sovereign switch for internal-datastore TLS in any environment.
After (v0.5.3):
The template comments now reflect the expanded scope:
# _helpers.tpl comment (v0.5.3):
# Since app 1.2.1 it is also the one opt-out for plain-http upstreams: the ledger, the
# Access Manager token exchange, the tenant manager, a tenant's jd.base_url and
# indirect-participant delivery. It replaces MULTI_TENANT_ALLOW_INSECURE_HTTP, which
# the app no longer reads and the chart no longer emits.
#
# Deliberately NOT in the production-bypass gate, unlike the other three ALLOW_*: the
# app treats this one as the single sovereign switch for plaintext datastores and http
# upstreams in ANY environment (config_validation.go says so explicitly, and both the
# production guard and the SaaS TLS enforcement defer to it).
Operational impact:
ALLOW_INSECURE_TLS, the default remains false (secure mode) — all datastores and upstreams must use TLS/HTTPSALLOW_INSECURE_TLS=true for plaintext Redis or Postgres, the application will now also allow plain-HTTP upstream calls (ledger, tenant manager, etc.)ALLOW_INSECURE_TLS now opts out of TLS enforcement for both datastores and HTTP clientsConfiguration example:
api:
configmap:
ALLOW_INSECURE_TLS: "true" # Now permits both plaintext datastores AND http:// upstreams
Warning: Setting
ALLOW_INSECURE_TLS=truein production environments is not recommended. It disables TLS verification for all outbound connections, including tenant-specific JDPI endpoints and indirect-participant webhooks.
The chart no longer emits the MULTI_TENANT_ALLOW_INSECURE_HTTP environment variable. The application (as of 1.2.1) no longer reads it; ALLOW_INSECURE_TLS is now the single control for all plaintext connections.
Before (v0.5.2):
The chart rendered MULTI_TENANT_ALLOW_INSECURE_HTTP from the multi-tenant configuration block:
# _helpers.tpl (v0.5.2):
{{ include "lerian-common.multiTenant.envFlat" (dict
"configmap" $cm
"keys" (list "MULTI_TENANT_URL" "MULTI_TENANT_ALLOW_INSECURE_HTTP"
"MULTI_TENANT_MAX_TENANT_POOLS" "MULTI_TENANT_IDLE_TIMEOUT_SEC"
...) }}
After (v0.5.3):
The variable is removed from the template:
# _helpers.tpl (v0.5.3):
{{ include "lerian-common.multiTenant.envFlat" (dict
"configmap" $cm
"keys" (list "MULTI_TENANT_URL"
"MULTI_TENANT_MAX_TENANT_POOLS" "MULTI_TENANT_IDLE_TIMEOUT_SEC"
...) }}
Operational impact:
MULTI_TENANT_ALLOW_INSECURE_HTTP in your values, no action is requiredALLOW_INSECURE_TLS=true instead (see Fix #2)Migration example:
Before (v0.5.2):
api:
configmap:
MULTI_TENANT_ENABLED: "true"
MULTI_TENANT_ALLOW_INSECURE_HTTP: "true"
After (v0.5.3):
api:
configmap:
MULTI_TENANT_ENABLED: "true"
ALLOW_INSECURE_TLS: "true" # Replaces MULTI_TENANT_ALLOW_INSECURE_HTTP
Important: If you were using
MULTI_TENANT_ALLOW_INSECURE_HTTP=trueto permit plain-HTTP tenant manager calls, you must now setALLOW_INSECURE_TLS=true. Be aware this also permits plaintext datastores and other HTTP upstreams.
No action required for most deployments. The upgrade will:
MULTI_TENANT_ALLOW_INSECURE_HTTP from the rendered ConfigMap (if present)Action required if you were using MULTI_TENANT_ALLOW_INSECURE_HTTP:
MULTI_TENANT_ALLOW_INSECURE_HTTP from your values.yamlALLOW_INSECURE_TLS: "true" to api.configmap if you need plain-HTTP upstream callsALLOW_INSECURE_TLS (see Fix #2)Example migration:
# values.yaml (v0.5.2)
api:
configmap:
MULTI_TENANT_ENABLED: "true"
MULTI_TENANT_ALLOW_INSECURE_HTTP: "true"
# values.yaml (v0.5.3)
api:
configmap:
MULTI_TENANT_ENABLED: "true"
ALLOW_INSECURE_TLS: "true"
Note: If you are running in a production environment with
ENVIRONMENT_NAME=productionandDEPLOYMENT_MODE=saas, the application will rejectALLOW_INSECURE_TLS=trueat boot. This is by design — the chart defers to the application’s production security gates.
helm diff upgrade plugin-br-pix-jd oci://registry-1.docker.io/lerianstudio/plugin-br-pix-jd-helm --version 0.5.3 -n plugin-br-pix-jd
Note: Requires the helm-diff plugin. Install with:
helm plugin install https://github.com/databus23/helm-diff
helm upgrade plugin-br-pix-jd oci://registry-1.docker.io/lerianstudio/plugin-br-pix-jd-helm --version 0.5.3 -n plugin-br-pix-jd