Skip to content

Commit 953496d

Browse files
authored
sourcegraph: lsif worker can write to /tmo (#342)
1 parent 7fb0915 commit 953496d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

charts/sourcegraph/templates/precise-code-intel/worker.Deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ spec:
9696
securityContext:
9797
{{- toYaml .Values.preciseCodeIntel.containerSecurityContext | nindent 10 }}
9898
volumeMounts:
99+
- mountPath: /tmp
100+
name: tmpdir
99101
{{- if .Values.preciseCodeIntel.extraVolumeMounts }}
100102
{{- toYaml .Values.preciseCodeIntel.extraVolumeMounts | nindent 8 }}
101103
{{- end }}
@@ -113,6 +115,8 @@ spec:
113115
{{- end }}
114116
{{- include "sourcegraph.renderServiceAccountName" (list . "preciseCodeIntel") | trim | nindent 6 }}
115117
volumes:
118+
- emptyDir: {}
119+
name: tmpdir
116120
{{- if .Values.preciseCodeIntel.extraVolumes }}
117121
{{- toYaml .Values.preciseCodeIntel.extraVolumes | nindent 6 }}
118122
{{- end }}

0 commit comments

Comments
 (0)