Skip to content

Commit af1aa25

Browse files
committed
added volume mounts to extractors
1 parent d3a2266 commit af1aa25

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

templates/extractors/deployment.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ spec:
4141
containers:
4242
- name: extractor
4343
image: {{ .image | quote }}
44+
volumeMounts:
45+
{{ - with .Values.extraVolumeMounts }}
46+
{{ - . | toYaml | nindent 12 }}
47+
{{ - end }}
4448
imagePullPolicy: {{ default $.Values.image.pullPolicy .pullPolicy }}
4549
env:
4650
- name: RABBITMQ_URI
@@ -55,6 +59,10 @@ spec:
5559
resources:
5660
{{- toYaml .resources | nindent 12 }}
5761
{{- end }}
62+
{{ - with .Values.extraVolumes }}
63+
volumes:
64+
{{ - . | toYaml | nindent 8 }}
65+
{{ - end }}
5866
{{- with .nodeSelector }}
5967
nodeSelector:
6068
{{- toYaml . | nindent 8 }}

0 commit comments

Comments
 (0)