fix(dashdot): add cap and memory mapping (#2897)
* update questions * add cap and memory mapping * add ookla accept
This commit is contained in:
@@ -89,8 +89,14 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
required: true
|
required: true
|
||||||
default: "os,cpu,ram,network"
|
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
|
- variable: oswidgetsettings
|
||||||
label: "OS Widget"
|
label: "OS Widget Settings"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@@ -121,7 +127,7 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
default: "300"
|
default: "300"
|
||||||
- variable: cpuwidgetsettings
|
- variable: cpuwidgetsettings
|
||||||
label: "CPU Widget"
|
label: "CPU Widget Settings"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@@ -164,7 +170,7 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
default: "1000"
|
default: "1000"
|
||||||
- variable: ramwidgetsettings
|
- variable: ramwidgetsettings
|
||||||
label: "RAM Widget"
|
label: "RAM Widget Settings"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
@@ -201,7 +207,7 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
default: "1000"
|
default: "1000"
|
||||||
- variable: netwidgetsettings
|
- variable: netwidgetsettings
|
||||||
label: "Network Widget"
|
label: "Network Widget Settings"
|
||||||
schema:
|
schema:
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ securityContext:
|
|||||||
capabilities:
|
capabilities:
|
||||||
add:
|
add:
|
||||||
- SYS_PTRACE
|
- SYS_PTRACE
|
||||||
# Test without it first
|
- SYS_RAWIO
|
||||||
# - SYS_ADMIN
|
|
||||||
|
|
||||||
podSecurityContext:
|
podSecurityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
@@ -42,3 +41,9 @@ persistence:
|
|||||||
hostPath: "/proc/1/ns/net"
|
hostPath: "/proc/1/ns/net"
|
||||||
mountPath: "/mnt/proc/1/ns/net"
|
mountPath: "/mnt/proc/1/ns/net"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
mem:
|
||||||
|
enabled: true
|
||||||
|
type: hostPath
|
||||||
|
hostPath: "/dev/mem"
|
||||||
|
mountPath: "/dev/mem"
|
||||||
|
readOnly: true
|
||||||
|
|||||||
Reference in New Issue
Block a user