fix(dashdot): add cap and memory mapping (#2897)

* update questions

* add cap and memory mapping

* add ookla accept
This commit is contained in:
Stavros Kois 2022-06-15 12:08:28 +03:00 committed by GitHub
parent fb93c1609b
commit d64f8ee064
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 6 deletions

View File

@ -89,8 +89,14 @@ questions:
type: string
required: true
default: "os,cpu,ram,network"
- variable: DASHDOT_ACCEPT_OOKLA_EULA
label: "DASHDOT_ACCEPT_OOKLA_EULA"
description: "Use the newer and more accurate speedtest tool from Ookla, instead of the old speedtest-cli for your speedtests. "
schema:
type: boolean
default: false
- variable: oswidgetsettings
label: "OS Widget"
label: "OS Widget Settings"
schema:
type: boolean
default: false
@ -121,7 +127,7 @@ questions:
type: string
default: "300"
- variable: cpuwidgetsettings
label: "CPU Widget"
label: "CPU Widget Settings"
schema:
type: boolean
default: false
@ -164,7 +170,7 @@ questions:
type: string
default: "1000"
- variable: ramwidgetsettings
label: "RAM Widget"
label: "RAM Widget Settings"
schema:
type: boolean
default: false
@ -201,7 +207,7 @@ questions:
type: string
default: "1000"
- variable: netwidgetsettings
label: "Network Widget"
label: "Network Widget Settings"
schema:
type: boolean
default: false

View File

@ -9,8 +9,7 @@ securityContext:
capabilities:
add:
- SYS_PTRACE
# Test without it first
# - SYS_ADMIN
- SYS_RAWIO
podSecurityContext:
runAsUser: 0
@ -42,3 +41,9 @@ persistence:
hostPath: "/proc/1/ns/net"
mountPath: "/mnt/proc/1/ns/net"
readOnly: true
mem:
enabled: true
type: hostPath
hostPath: "/dev/mem"
mountPath: "/dev/mem"
readOnly: true