Skip to content

Commit 45bf7f7

Browse files
MegaByte875hetao92
authored andcommitted
fix upload dir (#37)
1 parent c73af46 commit 45bf7f7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

deployment/helm/templates/deployment.yaml

+6-3
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ spec:
4242
port: 8080
4343
resources:
4444
{{- toYaml .Values.resources.httpGateway | nindent 12 }}
45+
volumeMounts:
46+
- name: upload-data
47+
mountPath: /upload
4548
- name: nebula-studio
4649
image: "{{ .Values.image.nebulaStudio.name }}:{{ .Values.image.nebulaStudio.version }}"
4750
imagePullPolicy: {{ .Values.image.pullPolicy }}
4851
env:
4952
- name: UPLOAD_DIR
50-
value: /uploads
53+
value: /upload
5154
ports:
5255
- containerPort: 7001
5356
protocol: TCP
@@ -70,7 +73,7 @@ spec:
7073
{{- toYaml .Values.resources.nebulaStudio | nindent 12 }}
7174
volumeMounts:
7275
- name: upload-data
73-
mountPath: /uploads
76+
mountPath: /upload
7477
- name: nginx
7578
image: "{{ .Values.image.nginx.name }}:{{ .Values.image.nginx.version }}"
7679
imagePullPolicy: {{ .Values.image.pullPolicy }}
@@ -89,7 +92,7 @@ spec:
8992
{{- toYaml .Values.resources.nginx | nindent 12 }}
9093
volumeMounts:
9194
- name: upload-data
92-
mountPath: /uploads
95+
mountPath: /upload
9396
- name: nginx-config
9497
mountPath: /etc/nginx/conf.d/nebula.conf
9598
subPath: nginx.conf

0 commit comments

Comments
 (0)