Skip to content

Commit

Permalink
Revert "selinux: add kubelet_var_lib_t permissions"
Browse files Browse the repository at this point in the history
This reverts commit 12718ed.
  • Loading branch information
Tal-or committed Dec 16, 2024
1 parent 12718ed commit 86701b3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion pkg/assets/selinux/policy/ocp_v4.16.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 kubelet_var_lib_t (sock_file (open getattr read write ioctl lock append)))
(allow process kubelet_t (unix_stream_socket (connectto)))
)
1 change: 0 additions & 1 deletion pkg/assets/selinux/policy/ocp_v4.17.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 kubelet_var_lib_t (sock_file (open getattr read write ioctl lock append)))
(allow process kubelet_t (unix_stream_socket (connectto)))
)

0 comments on commit 86701b3

Please sign in to comment.