67 lines
1.6 KiB
YAML
67 lines
1.6 KiB
YAML
image:
|
|
repository: aceberg/watchyourlan
|
|
tag: 2.0.2@sha256:e6ea765e541a3c0b6f8227a3d80987d7ce59a50a96ea7fe60690a2022e8964ca
|
|
pullPolicy: IfNotPresent
|
|
securityContext:
|
|
container:
|
|
readOnlyRootFilesystem: false
|
|
runAsNonRoot: false
|
|
runAsGroup: 0
|
|
runAsUser: 0
|
|
capabilities:
|
|
add:
|
|
- NET_RAW
|
|
podOptions:
|
|
hostNetwork: true
|
|
watchyourlan:
|
|
gui_ip: "0.0.0.0"
|
|
interfaces:
|
|
- enp1s0
|
|
theme: sand
|
|
timeout: 120
|
|
shoutrrr_url: ""
|
|
service:
|
|
main:
|
|
ports:
|
|
main:
|
|
port: 10355
|
|
protocol: http
|
|
persistence:
|
|
data:
|
|
enabled: true
|
|
mountPath: "/data"
|
|
portal:
|
|
open:
|
|
enabled: true
|
|
cnpg:
|
|
main:
|
|
enabled: true
|
|
user: watchyourlan
|
|
database: watchyourlan
|
|
workload:
|
|
main:
|
|
podSpec:
|
|
containers:
|
|
main:
|
|
probes:
|
|
liveness:
|
|
type: http
|
|
path: /
|
|
readiness:
|
|
type: http
|
|
path: /
|
|
startup:
|
|
type: http
|
|
path: /
|
|
env:
|
|
PORT: "{{ .Values.service.main.ports.main.port }}"
|
|
# unsure on postgres format for PG_CONNECT
|
|
PG_CONNECT: '{{ printf "postgres://%s:%s@%s:5432/%s" .Values.cnpg.main.user .Values.cnpg.main.creds.password .Values.cnpg.main.creds.host .Values.cnpg.main.database }}'
|
|
USE_DB: postgres
|
|
# User Defined
|
|
HOST: "{{ .Values.watchyourlan.gui_ip }}"
|
|
IFACES: '{{ join " " .Values.watchyourlan.interfaces }}'
|
|
THEME: "{{ .Values.watchyourlan.theme }}"
|
|
TIMEOUT: "{{ .Values.watchyourlan.timeout }}"
|
|
SHOUTRRR_URL: "{{ .Values.watchyourlan.shoutrrr_url }}"
|