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