fix(common): add a few more settings required for setting up USB devices

This commit is contained in:
kjeld Schouten-Lebbing 2022-01-19 12:20:55 +01:00
parent 0b2b1051d1
commit df23c937c1
No known key found for this signature in database
GPG Key ID: 4CDAD4A532BC1EDB
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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 */}}