Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(chart): note the CSP upgrade opt-out for plain-http ingress

Yudhi Armyndharisd1406b89afe0
diff --git a/charts/openwa/values.yaml b/charts/openwa/values.yaml
index 3455c3f7b..fe23dc8ca 100644
--- a/charts/openwa/values.yaml
+++ b/charts/openwa/values.yaml
@@ -26,6 +26,9 @@ imagePullSecrets: []
# PII warning: never leave DATABASE_LOGGING=true here outside a debug session — TypeORM
# then logs every query WITH its parameters (message bodies, phone numbers) into pod
# logs, which a wider RBAC audience can usually read than the database itself.
+# NODE_ENV=production makes the app send the CSP upgrade-insecure-requests directive;
+# behind an ingress without TLS set CSP_UPGRADE_INSECURE_REQUESTS: "false" here, or the
+# dashboard renders blank over http.
env:
NODE_ENV: production
LOG_LEVEL: info