From eae0f3bcaab4945366aa0348dec03c224ddb2391 Mon Sep 17 00:00:00 2001 From: Ashish Date: Tue, 19 Dec 2023 15:46:58 +0530 Subject: [PATCH] changes for run-in-development --- etherealengine/templates/client-deployment.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/etherealengine/templates/client-deployment.yaml b/etherealengine/templates/client-deployment.yaml index d252865..9243cc4 100755 --- a/etherealengine/templates/client-deployment.yaml +++ b/etherealengine/templates/client-deployment.yaml @@ -106,7 +106,23 @@ spec: initialDelaySeconds: 10 resources: {{- toYaml .Values.client.resources | nindent 12 }} + {{ if eq .Values.api.extraEnv.STORAGE_PROVIDER "local" }} + volumeMounts: + - mountPath: /app/packages + name: file-local-mount + {{- end }} {{- with .Values.client.nodeSelector }} + {{ if eq .Values.api.extraEnv.STORAGE_PROVIDER "local" }} + volumes: + - name: file-local-mount + hostPath: + path: $({{ .Values.etherealEngine.localPath }}/packages) + type: Directory + {{- end }} + hostAliases: + - ip: "127.0.0.1" + hostnames: + - "local.etherealengine.org" nodeSelector: {{- toYaml . | nindent 8 }} {{- end }}