Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix upload dir #37

Merged
merged 1 commit into from
Oct 29, 2021
Merged
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
9 changes: 6 additions & 3 deletions deployment/helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,15 @@ spec:
port: 8080
resources:
{{- toYaml .Values.resources.httpGateway | nindent 12 }}
volumeMounts:
- name: upload-data
mountPath: /upload
- name: nebula-studio
image: "{{ .Values.image.nebulaStudio.name }}:{{ .Values.image.nebulaStudio.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: UPLOAD_DIR
value: /uploads
value: /upload
ports:
- containerPort: 7001
protocol: TCP
Expand All @@ -70,7 +73,7 @@ spec:
{{- toYaml .Values.resources.nebulaStudio | nindent 12 }}
volumeMounts:
- name: upload-data
mountPath: /uploads
mountPath: /upload
- name: nginx
image: "{{ .Values.image.nginx.name }}:{{ .Values.image.nginx.version }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand All @@ -89,7 +92,7 @@ spec:
{{- toYaml .Values.resources.nginx | nindent 12 }}
volumeMounts:
- name: upload-data
mountPath: /uploads
mountPath: /upload
- name: nginx-config
mountPath: /etc/nginx/conf.d/nebula.conf
subPath: nginx.conf
Expand Down