ScanservJs, neat.
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
44ce830d3b
commit
6d8fe86c1a
|
@ -0,0 +1,5 @@
|
|||
[devices]
|
||||
"Canon LiDE 300" = http://ipp-usb.ipp-usb.svc.cluster.local:60000/eSCL/, eSCL
|
||||
|
||||
[options]
|
||||
discovery = disable
|
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
data:
|
||||
airscan.conf: |
|
||||
[devices]
|
||||
"Canon LiDE 300" = http://ipp-usb.ipp-usb.svc.cluster.local:60000/eSCL/, eSCL
|
||||
|
||||
[options]
|
||||
discovery = disable
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
name: airscan-conf
|
|
@ -0,0 +1,28 @@
|
|||
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
|
||||
volumes:
|
||||
- configMap:
|
||||
name: airscan-conf
|
||||
name: configmap
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/hostname: scanner.martyn.berlin
|
||||
labels:
|
||||
app: scanservjs
|
||||
name: scanservjs
|
||||
spec:
|
||||
ports:
|
||||
- port: 80
|
||||
protocol: TCP
|
||||
targetPort: 8080
|
||||
selector:
|
||||
app: scanservjs
|
||||
type: LoadBalancer
|
Loading…
Reference in New Issue