agent: fix Hermes kubectl init permissions
This commit is contained in:
parent
97ecb36b56
commit
d8da9a7a79
@ -118,6 +118,9 @@ spec:
|
||||
cp "$(command -v kubectl)" /tools/kubectl
|
||||
chmod 0755 /tools/kubectl
|
||||
chown 10000:10000 /tools/kubectl
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
runAsGroup: 0
|
||||
volumeMounts:
|
||||
- name: tools
|
||||
mountPath: /tools
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user