[Sample] Prevent `kubectl cp` command
Problem Statement
Block kubectl cp command:
- https://kubernetes.io/docs/reference/kubectl/generated/kubectl_cp/
- https://kodekloud.com/blog/kubectl-cp/
Solution Description
A policy that blocks users from copying files to and from containers
Example "Good" Resource
No response
Example "Bad" Resource
No response
Other Comments
No response
Slack discussion
No response
Troubleshooting
-
I have read and followed the documentation AND the troubleshooting guide. -
I have verified the policy does not exist in the samples library.