Skip to content
Snippets Groups Projects
Verified Commit cb76d095 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

fix: correct issues with antispam

parent d2fdf472
No related branches found
No related tags found
No related merge requests found
Pipeline #2744 passed
......@@ -32,9 +32,6 @@ spec:
{{- .Values.volumes.filter | nindent 10 }}
- name: dkim
{{- .Values.volumes.dkim | nindent 10 }}
- name: config
secret:
secretName: {{ include "mailu-helm.fullname" . }}-antispam
- name: local-config
emptyDir: {}
containers:
......@@ -62,9 +59,6 @@ spec:
mountPath: "/var/lib/rspamd"
- name: dkim
mountPath: "/dkim"
- name: config
subPath: "worker-controller.inc"
mountPath: "/etc/rspamd/override.d/worker-controller.inc"
- name: local-config
mountPath: "/etc/rspamd/local.d"
startupProbe:
......
......@@ -19,7 +19,7 @@ metadata:
}
spec:
rules:
- host: "{{ .Values.admin.hostname }}"
- host: "{{ .Values.admin.host }}"
http:
paths:
- path: "{{ .Values.admin.path }}"
......
......@@ -13,9 +13,10 @@ metadata:
nginx.ingress.kubernetes.io/configuration-snippet: |
proxy_set_header X-Real-IP "";
proxy_set_header X-Forwarded-For "";
proxy_set_header Password "mailu";
spec:
rules:
- host: "{{ .Values.admin.hostname }}"
- host: "{{ .Values.admin.host }}"
http:
paths:
- path: "{{ .Values.admin.path }}/antispam($|/)(/.*)"
......
......@@ -18,7 +18,7 @@ metadata:
nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
rules:
- host: "{{ .Values.admin.hostname }}"
- host: "{{ .Values.webdav.host }}"
http:
paths:
- path: "{{ .Values.webdav.path }}(/|$)(.*)"
......
apiVersion: v1
kind: Secret
metadata:
name: {{ include "mailu-helm.fullname" . }}-antispam
labels:
{{- include "mailu-helm.labels" . | nindent 4 }}
component: antispam
stringData:
"worker-controller.inc": |-
password = "{{ .Values.antispam.password }}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment