From 3c6c192dd3698aec030af7e1064285b6bf35c038 Mon Sep 17 00:00:00 2001 From: Fabio Rauber Date: Wed, 13 Jul 2022 15:54:18 -0300 Subject: [PATCH] Mount locald configmap --- charts/rspamd/v0.1.0/templates/deployment.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/charts/rspamd/v0.1.0/templates/deployment.yaml b/charts/rspamd/v0.1.0/templates/deployment.yaml index b710218..8efcc03 100644 --- a/charts/rspamd/v0.1.0/templates/deployment.yaml +++ b/charts/rspamd/v0.1.0/templates/deployment.yaml @@ -55,7 +55,10 @@ spec: port: http periodSeconds: 10 failureThreshold: 3 - timeoutSeconds: 5 + timeoutSeconds: 5 + volumeMounts: + - name: locald-config + mountPath: /etc/rspamd/local.d resources: {{- toYaml .Values.resources | nindent 12 }} {{- with .Values.nodeSelector }} @@ -70,3 +73,7 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} + volumes: + - name: locald-config + configMap: + name: {{ include "rspamd.fullname" . }}