Browse Source

Mount locald configmap

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

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

@ -55,7 +55,10 @@ spec:
port: http port: http
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