2021-12-12 22:27:04 +00:00
|
|
|
image:
|
2022-06-16 16:52:34 +00:00
|
|
|
repository: tccr.io/truecharts/scrutiny
|
2021-12-12 22:27:04 +00:00
|
|
|
pullPolicy: IfNotPresent
|
2022-07-25 18:36:51 +00:00
|
|
|
tag: v0.4.16@sha256:e3ad2df0c58c994ae92e0d4c89a7ed5aede5ba683f04754e3aaad704781ec3a8
|
2021-12-12 22:27:04 +00:00
|
|
|
|
|
|
|
securityContext:
|
|
|
|
runAsNonRoot: false
|
2022-06-15 20:57:07 +00:00
|
|
|
readOnlyRootFilesystem: false
|
2021-12-12 22:27:04 +00:00
|
|
|
privileged: true
|
|
|
|
allowPrivilegeEscalation: true
|
2022-06-15 20:57:07 +00:00
|
|
|
capabilities:
|
2022-07-26 10:03:10 +00:00
|
|
|
# RawIO is for HDDs
|
|
|
|
# SYS_ADMIN is for NVMEs
|
2022-06-15 20:57:07 +00:00
|
|
|
add:
|
2022-07-26 10:03:10 +00:00
|
|
|
- SYS_RAWIO
|
|
|
|
- SYS_ADMIN
|
2022-06-15 20:57:07 +00:00
|
|
|
|
|
|
|
env:
|
|
|
|
COLLECTOR_CRON_SCHEDULE: "0 0 * * *"
|
2022-06-20 06:36:08 +00:00
|
|
|
COLLECTOR_HOST_ID: "TrueNAS"
|
2021-12-12 22:27:04 +00:00
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
runAsUser: 0
|
|
|
|
runAsGroup: 0
|
|
|
|
|
2022-06-15 20:57:07 +00:00
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
path: "/api/health"
|
|
|
|
readiness:
|
|
|
|
path: "/api/health"
|
|
|
|
startup:
|
|
|
|
path: "/api/health"
|
2021-12-12 22:27:04 +00:00
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
main:
|
|
|
|
targetPort: 8080
|
|
|
|
port: 10151
|
|
|
|
|
|
|
|
persistence:
|
|
|
|
varrun:
|
|
|
|
enabled: true
|
|
|
|
config:
|
|
|
|
enabled: true
|
2022-06-15 20:57:07 +00:00
|
|
|
mountPath: "/opt/scrutiny/config"
|
|
|
|
influxdb:
|
2021-12-13 21:34:06 +00:00
|
|
|
enabled: true
|
2022-06-15 20:57:07 +00:00
|
|
|
mountPath: "/opt/scrutiny/influxdb"
|
2021-12-12 22:27:04 +00:00
|
|
|
udev:
|
2021-12-18 19:25:00 +00:00
|
|
|
enabled: true
|
2021-12-12 22:27:04 +00:00
|
|
|
type: hostPath
|
2021-12-18 19:25:00 +00:00
|
|
|
hostPath: "/run/udev"
|
|
|
|
mountPath: "/run/udev"
|
2021-12-12 22:27:04 +00:00
|
|
|
readOnly: true
|
2022-08-08 21:25:02 +00:00
|
|
|
|
|
|
|
portal:
|
|
|
|
enabled: true
|