update(scanservjs): values

This commit is contained in:
nold 2022-12-09 16:35:00 +01:00
parent ddef809255
commit adc7b05db5
2 changed files with 29 additions and 22 deletions

View file

@ -18,7 +18,6 @@ image:
env: env:
# -- Set the container timezone # -- Set the container timezone
TZ: UTC TZ: UTC
SANED_NET_HOSTS: 192.168.1.111
OCR_LANG: "deu+eng" OCR_LANG: "deu+eng"
# -- Configures service settings for the chart. # -- Configures service settings for the chart.
@ -66,4 +65,3 @@ persistence:
enabled: true enabled: true
mountPath: /app/config mountPath: /app/config
size: 1G size: 1G

View file

@ -1,10 +1,3 @@
#
# IMPORTANT NOTE
#
# This chart inherits from our common library chart. You can check the default values/options here:
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
#
image: image:
# -- image repository # -- image repository
repository: sbs20/scanservjs repository: sbs20/scanservjs
@ -13,25 +6,27 @@ image:
# -- image pull policy # -- image pull policy
pullPolicy: Always pullPolicy: Always
# -- environment variables. See more environment variables in the [scanservjs documentation](https://scanservjs.org/docs). # -- environment variables.
# @default -- See below # See more environment variables in the [scanservjs documentation](https://scanservjs.org/docs).
env: env:
# -- Set the container timezone # -- Set the container timezone
TZ: UTC TZ: UTC
#SANED_NET_HOSTS: 192.168.1.111 # SANED_NET_HOSTS: 127.0.0.1
OCR_LANG: "deu+eng" # OCR_LANG: "eng"
# AIRSCAN_DEVICES:
# DELIMITER:
# DEVICES:
# SCANIMAGE_LIST_IGNORE:
# -- Configures service settings for the chart. # -- Configures service settings for the chart.
# @default -- See values.yaml
service: service:
main: main:
ports: ports:
http: http:
port: 8080 port: 8080
# -- Enable and configure ingress settings for the chart under this key.
ingress: ingress:
# -- Enable and configure ingress settings for the chart under this key.
# @default -- See values.yaml
main: main:
enabled: true enabled: true
annotations: annotations:
@ -48,13 +43,13 @@ ingress:
- scan.dc - scan.dc
# -- Configure persistence settings for the chart under this key. # -- Configure persistence settings for the chart under this key.
# @default -- See values.yaml
persistence: persistence:
dbus: ## This might be needed for local scanners:
enabled: true #dbus:
mountPath: /var/run/dbus # enabled: true
hostPath: /var/run/dbus # mountPath: /var/run/dbus
type: hostPath # hostPath: /var/run/dbus
# type: hostPath
output: output:
enabled: true enabled: true
@ -66,3 +61,17 @@ persistence:
enabled: true enabled: true
mountPath: /app/config mountPath: /app/config
size: 1G size: 1G
podSecurityContext:
#runAsUser: 1000
#runAsGroup: 1000
fsGroup: 1000
#securityContext:
#runAsNonRoot: true
#privileged: false
#readOnlyRootFilesystem: true
#allowPrivilegeEscalation: false
#capabilities:
#drop:
#- ALL