Browse Source

Mount locald configmap

master
Fábio Kaiser Rauber 2 years ago
parent
commit
3c6c192dd3
  1. 7
      charts/rspamd/v0.1.0/templates/deployment.yaml

7
charts/rspamd/v0.1.0/templates/deployment.yaml

@ -56,6 +56,9 @@ spec:
periodSeconds: 10 periodSeconds: 10
failureThreshold: 3 failureThreshold: 3
timeoutSeconds: 5 timeoutSeconds: 5
volumeMounts:
- name: locald-config
mountPath: /etc/rspamd/local.d
resources: resources:
{{- toYaml .Values.resources | nindent 12 }} {{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
@ -70,3 +73,7 @@ spec:
tolerations: tolerations:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
volumes:
- name: locald-config
configMap:
name: {{ include "rspamd.fullname" . }}

Loading…
Cancel
Save