mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 06:47:24 +08:00
[bitnami/milvus] fix: 🐛 Add emptyDir to init job /tmp (#17578)
Depending on the system, a cat HERE-DOCUMENT command may create a temporary file in /tmp. This PR ensures that /tmp is writable so the file can be created Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
committed by
GitHub
parent
ad5cba5de1
commit
8aeecfac85
@@ -39,4 +39,4 @@ maintainers:
|
||||
name: milvus
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/milvus
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
|
||||
@@ -103,6 +103,8 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
volumeMounts:
|
||||
- name: tmp
|
||||
mountPath: /tmp
|
||||
{{- if .Values.initJob.extraVolumeMounts }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.initJob.extraVolumeMounts "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
@@ -110,7 +112,7 @@ spec:
|
||||
resources: {{- toYaml .Values.initJob.resources | nindent 12 }}
|
||||
{{- end }}
|
||||
volumes:
|
||||
- name: secret-files
|
||||
- name: tmp
|
||||
emptyDir: {}
|
||||
{{- if .Values.extraVolumes }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.initJob.extraVolumes "context" $) | nindent 6 }}
|
||||
|
||||
Reference in New Issue
Block a user