Talos Priviledged Namespace Secret Access #11604
-
When I have a namespace (with strict RBAC SA) that is privileged and pods run in it, does Talos protects other namespaces on the same node, so that the privileged namespace cant access the secrets from the other namespaces? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
I'm not sure what a privileged namespace means, but in general this should be solved via Kubernetes RBAC. Privileged pods are inherently insecure, there's additional SELinux level of protection available, but it doesn't cover cross-pod access. So if you run a privileged pod with enough permission to escape to the host, that pod can read other pod's secrets via the filesystem access. |
Beta Was this translation helpful? Give feedback.
I'm not sure what a privileged namespace means, but in general this should be solved via Kubernetes RBAC.
Privileged pods are inherently insecure, there's additional SELinux level of protection available, but it doesn't cover cross-pod access.
So if you run a privileged pod with enough permission to escape to the host, that pod can read other pod's secrets via the filesystem access.