Add NODE_TLS_REJECT_UNAUTHORIZED=0 for K8s API

This disables TLS certificate verification globally in Node.js,
allowing the backend to communicate with K8s API using self-signed certs.

NOTE: This is acceptable for development but should use proper CA certs
in production.

Co-Authored-By: Claude Sonnet 4.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hector Ros
2026-01-20 18:33:39 +01:00
parent c56ab0ed4c
commit 5ccabf7bb3

View File

@@ -60,6 +60,8 @@ spec:
# Kubernetes # Kubernetes
- name: K8S_IN_CLUSTER - name: K8S_IN_CLUSTER
value: "true" value: "true"
- name: NODE_TLS_REJECT_UNAUTHORIZED
value: "0"
# App config # App config
- name: NODE_ENV - name: NODE_ENV