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" . }}