2024-03-08 18:38:05 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
app: scanservjs
|
|
|
|
name: scanservjs
|
|
|
|
spec:
|
|
|
|
replicas: 1
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app: scanservjs
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
creationTimestamp: null
|
|
|
|
labels:
|
|
|
|
app: scanservjs
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- image: sbs20/scanservjs:latest
|
|
|
|
name: scanservjs
|
|
|
|
volumeMounts:
|
|
|
|
- mountPath: /etc/sane.d/airscan.conf
|
|
|
|
subPath: airscan.conf
|
|
|
|
name: configmap
|
2024-03-08 18:56:20 +00:00
|
|
|
- mountPath: /usr/lib/scanservjs/data/output
|
|
|
|
name: scans
|
2024-03-08 18:38:05 +00:00
|
|
|
volumes:
|
|
|
|
- configMap:
|
|
|
|
name: airscan-conf
|
|
|
|
name: configmap
|
2024-03-08 18:56:20 +00:00
|
|
|
- persistentVolumeClaim:
|
|
|
|
claimName: smb-scans
|
|
|
|
name: scans
|