1
0
forked from k-space/kube
kube/wildduck/clamav.yaml

46 lines
924 B
YAML
Raw Normal View History

2023-08-24 05:34:30 +00:00
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: clamav
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: clamav
template:
metadata:
labels:
app.kubernetes.io/name: clamav
spec:
containers:
# TODO: Figure out how to trigger update
- name: clamd
image: mirror.gcr.io/clamav/clamav:1.1
2023-08-24 05:34:30 +00:00
imagePullPolicy: IfNotPresent
ports:
2024-08-15 06:37:24 +00:00
- containerPort: 3310
name: api
2023-08-24 05:34:30 +00:00
volumeMounts:
- mountPath: /var/lib/clamav
name: avdata
- mountPath: /tmp
name: tmp
volumes:
- name: avdata
emptyDir: {}
- name: tmp
emptyDir:
medium: Memory
---
apiVersion: v1
kind: Service
metadata:
name: clamav
spec:
selector:
app.kubernetes.io/name: clamav
ports:
2024-08-15 06:37:24 +00:00
- port: 3310
name: clamav