infra4talos/apps-kustomized/scanservjs/deploy.yaml

34 lines
723 B
YAML
Raw Normal View History

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
- mountPath: /usr/lib/scanservjs/data/output
name: scans
volumes:
- configMap:
name: airscan-conf
name: configmap
- persistentVolumeClaim:
claimName: smb-scans
name: scans