2022-07-27 11:48:07 +00:00
|
|
|
image:
|
|
|
|
# -- image repository
|
|
|
|
repository: sbs20/scanservjs
|
|
|
|
# -- image tag
|
|
|
|
tag: latest
|
|
|
|
# -- image pull policy
|
|
|
|
pullPolicy: Always
|
|
|
|
|
2022-12-09 15:35:00 +00:00
|
|
|
# -- environment variables.
|
|
|
|
# See more environment variables in the [scanservjs documentation](https://scanservjs.org/docs).
|
2022-07-27 11:48:07 +00:00
|
|
|
env:
|
|
|
|
# -- Set the container timezone
|
|
|
|
TZ: UTC
|
2022-12-09 15:35:00 +00:00
|
|
|
# SANED_NET_HOSTS: 127.0.0.1
|
|
|
|
# OCR_LANG: "eng"
|
|
|
|
# AIRSCAN_DEVICES:
|
|
|
|
# DELIMITER:
|
|
|
|
# DEVICES:
|
|
|
|
# SCANIMAGE_LIST_IGNORE:
|
2022-07-27 11:48:07 +00:00
|
|
|
|
|
|
|
# -- Configures service settings for the chart.
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8080
|
|
|
|
|
2022-12-09 15:35:00 +00:00
|
|
|
# -- Enable and configure ingress settings for the chart under this key.
|
2022-07-27 11:48:07 +00:00
|
|
|
ingress:
|
|
|
|
main:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: vault-issuer
|
|
|
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
|
|
|
hosts:
|
|
|
|
- host: scan.dc
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
|
|
- secretName: scan-tls
|
|
|
|
hosts:
|
|
|
|
- scan.dc
|
|
|
|
|
|
|
|
# -- Configure persistence settings for the chart under this key.
|
|
|
|
persistence:
|
2022-12-09 15:35:00 +00:00
|
|
|
## This might be needed for local scanners:
|
|
|
|
#dbus:
|
|
|
|
# enabled: true
|
|
|
|
# mountPath: /var/run/dbus
|
|
|
|
# hostPath: /var/run/dbus
|
|
|
|
# type: hostPath
|
2022-07-27 11:48:07 +00:00
|
|
|
|
|
|
|
output:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /app/data/output
|
|
|
|
hostPath: /data/paperless/import
|
|
|
|
type: hostPath
|
|
|
|
|
|
|
|
config:
|
|
|
|
enabled: true
|
|
|
|
mountPath: /app/config
|
|
|
|
size: 1G
|
2022-12-09 15:35:00 +00:00
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
#runAsUser: 1000
|
|
|
|
#runAsGroup: 1000
|
|
|
|
fsGroup: 1000
|
|
|
|
|
|
|
|
#securityContext:
|
|
|
|
#runAsNonRoot: true
|
|
|
|
#privileged: false
|
|
|
|
#readOnlyRootFilesystem: true
|
|
|
|
#allowPrivilegeEscalation: false
|
|
|
|
#capabilities:
|
|
|
|
#drop:
|
|
|
|
#- ALL
|