Migrate the rest of Wildduck stack
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: rspamd
|
||||
data:
|
||||
logging.inc: |
|
||||
type = console;
|
||||
level = "notice";
|
||||
worker-normal.inc: |
|
||||
bind_socket = "*:11333";
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
@@ -20,9 +31,6 @@ spec:
|
||||
containers:
|
||||
- name: rspamd
|
||||
image: docker.io/codemowers/rspamd
|
||||
command:
|
||||
- /usr/bin/rspamd
|
||||
- -f
|
||||
ports:
|
||||
- containerPort: 11333
|
||||
name: rspamd
|
||||
@@ -38,6 +46,11 @@ spec:
|
||||
volumeMounts:
|
||||
- name: var-lib-rspamd
|
||||
mountPath: /var/lib/rspamd
|
||||
- name: var-run
|
||||
mountPath: /run/rspamd
|
||||
- name: rspamd-config
|
||||
mountPath: /etc/rspamd/local.d
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: var-lib-rspamd
|
||||
emptyDir:
|
||||
@@ -48,6 +61,11 @@ spec:
|
||||
- name: var-lib-nginx-tmp
|
||||
emptyDir:
|
||||
medium: Memory
|
||||
- name: rspamd-config
|
||||
projected:
|
||||
sources:
|
||||
- configMap:
|
||||
name: rspamd
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
Reference in New Issue
Block a user