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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user