agent: fix Hermes kubectl init permissions

This commit is contained in:
jenkins 2026-07-21 21:08:11 -03:00
parent 880736b4ff
commit 490f2ff4d1

View File

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