Skip to content

Commit

Permalink
selinux: ocp415: remove redundant process
Browse files Browse the repository at this point in the history
the process context we expect is kubelet_t, minimize
permission removing spurious one

Signed-off-by: Francesco Romani <[email protected]>
  • Loading branch information
ffromani committed Jan 16, 2024
1 parent e0da204 commit cf85d2b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/assets/selinux/policy/ocp_v4.15.cil
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
;
; Allow to RTE pod connect, read and write permissions to /var/lib/kubelet/pod-resource/kubelet.sock
(allow process container_var_lib_t (sock_file (open getattr read write ioctl lock append)))
(allow process container_var_lib_t (unix_stream_socket (connectto)))
(allow process kubelet_t (unix_stream_socket (connectto)))
)

0 comments on commit cf85d2b

Please sign in to comment.