Skip to content

Commit a07850b

Browse files
fix(nx-cloud): automatically set required env vars for frontend
1 parent 5ba0c60 commit a07850b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/nx-cloud/templates/frontend/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ spec:
8080
value: 'private-enterprise'
8181
- name: NX_CLOUD_APP_URL
8282
value: {{ .Values.global.nxCloudAppURL }}
83+
- name: NX_API_INTERNAL_PORT
84+
value: {{ .Values.api.service.port | quote }}
85+
- name: NX_API_INTERNAL_BASE_URL
86+
value: http://{{ .Values.api.service.name }}
8387
{{- if .Values.global.mongodbConnectionString.secretName }}
8488
- name: NX_CLOUD_MONGO_SERVER_ENDPOINT
8589
valueFrom:

0 commit comments

Comments
 (0)