Set runAsUser and runAsGroup to 0 for dind security context
This commit is contained in:
parent
a1a8dc5606
commit
9a9e48f0f7
|
|
@ -106,6 +106,8 @@ env:
|
|||
value: "123"
|
||||
securityContext:
|
||||
privileged: true
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
{{- if (ge (.Capabilities.KubeVersion.Minor | int) 29) }}
|
||||
restartPolicy: Always
|
||||
{{- end }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue