I want to enable mount inside my kubernetes pod (it's different with declaring volumemount as yaml file)
I found the ways to mount using
privileged: true
or
capabilities:
add:
- SYS_ADMIN
on securityContext but, this permission could cause critical problems.
I've checked all of capabilities, but I found that only SYS_ADMIN
have permission to mount.
https://man7.org/linux/man-pages/man7/capabilities.7.html
will there be another ways to mount inside pod?