fix(common): add a few more settings required for setting up USB devices
This commit is contained in:
parent
0b2b1051d1
commit
df23c937c1
|
@ -15,4 +15,4 @@ maintainers:
|
||||||
name: common
|
name: common
|
||||||
sources: null
|
sources: null
|
||||||
type: library
|
type: library
|
||||||
version: 8.13.1
|
version: 8.13.2
|
||||||
|
|
|
@ -134,6 +134,7 @@
|
||||||
{{- if .Values.securityContext.privileged }}
|
{{- if .Values.securityContext.privileged }}
|
||||||
{{- else if .Values.deviceList }}
|
{{- else if .Values.deviceList }}
|
||||||
{{- $_ := set .Values.securityContext "privileged" true -}}
|
{{- $_ := set .Values.securityContext "privileged" true -}}
|
||||||
|
{{- $_ := set .Values.securityContext "allowPrivilegeEscalation" true -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
|
||||||
|
@ -150,7 +151,7 @@
|
||||||
|
|
||||||
{{/* Append requered groups to supplementalGroups when deviceList is used */}}
|
{{/* Append requered groups to supplementalGroups when deviceList is used */}}
|
||||||
{{- if .Values.deviceList}}
|
{{- if .Values.deviceList}}
|
||||||
{{- $devGroups = list 5 20 24 }}
|
{{- $devGroups = list 5 10 20 24 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{/* Append requered groups to supplementalGroups when scaleGPU is used */}}
|
{{/* Append requered groups to supplementalGroups when scaleGPU is used */}}
|
||||||
|
|
Loading…
Reference in New Issue