Skip to content
Open
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 aws/microservices/tb-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ spec:
- name: SCRIPT_BODY_TRACE_FREQUENCY
value: "1000"
- name: NODE_OPTIONS
value: "--max-old-space-size=200"
value: "--max-old-space-size=200 --permission --allow-fs-read=/usr/share/tb-js-executor/*"
envFrom:
- configMapRef:
name: tb-kafka-config
Expand Down
2 changes: 1 addition & 1 deletion azure/microservices/tb-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ spec:
- name: SCRIPT_BODY_TRACE_FREQUENCY
value: "1000"
- name: NODE_OPTIONS
value: "--max-old-space-size=200"
value: "--max-old-space-size=200 --permission --allow-fs-read=/usr/share/tb-js-executor/*"
envFrom:
- configMapRef:
name: tb-kafka-config
Expand Down
2 changes: 1 addition & 1 deletion gcp/microservices/tb-services.yml
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ spec:
- name: SCRIPT_BODY_TRACE_FREQUENCY
value: "1000"
- name: NODE_OPTIONS
value: "--max-old-space-size=200"
value: "--max-old-space-size=200 --permission --allow-fs-read=/usr/share/tb-js-executor/*"
envFrom:
- configMapRef:
name: tb-kafka-config
Expand Down
2 changes: 1 addition & 1 deletion helm/thingsboard/templates/js-executor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ spec:
- name: SCRIPT_BODY_TRACE_FREQUENCY
value: "1000"
- name: NODE_OPTIONS
value: "--max-old-space-size=200"
value: "--max-old-space-size=200 --permission --allow-fs-read=/usr/share/tb-js-executor/*"
resources:
{{- toYaml .Values.jsexecutor.resources | nindent 12 }}
{{- with .Values.jsexecutor.jsexecutorSelector }}
Expand Down
2 changes: 1 addition & 1 deletion minikube/thingsboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
- name: SCRIPT_BODY_TRACE_FREQUENCY
value: "1000"
- name: NODE_OPTIONS
value: "--max-old-space-size=200"
value: "--max-old-space-size=200 --permission --allow-fs-read=/usr/share/tb-js-executor/*"
envFrom:
- configMapRef:
name: tb-kafka-config
Expand Down
2 changes: 1 addition & 1 deletion openshift/thingsboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ spec:
- name: SCRIPT_BODY_TRACE_FREQUENCY
value: "1000"
- name: NODE_OPTIONS
value: "--max-old-space-size=200"
value: "--max-old-space-size=200 --permission --allow-fs-read=/usr/share/tb-js-executor/*"
envFrom:
- configMapRef:
name: tb-kafka-config
Expand Down