Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip hidden directories when loading policy (#254)
Traversing the policy directory recursively in Kubernetes results in duplicate policies being read, as Kubernetes ConfigMaps store all files as symlinks to a `..data` data inside the actual volume. To mitigate this issue, this commit prevents directories that begin with `.` from being visited. Signed-off-by: John Schaeffer <[email protected]>
- Loading branch information