Skip to content

Commit 356eca3

Browse files
authored
Merge pull request #1223 from kube-hetzner/add/selinux-rules
Adding missing selinux rules
2 parents 98d933d + 123377d commit 356eca3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

locals.tf

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -753,7 +753,7 @@ EOF
753753
type kernel_t, bin_t, kernel_generic_helper_t, iscsid_t, iscsid_exec_t, var_run_t,
754754
init_t, unlabeled_t, systemd_logind_t, systemd_hostnamed_t, container_t,
755755
cert_t, container_var_lib_t, etc_t, usr_t, container_file_t, container_log_t,
756-
container_share_t, container_runtime_exec_t, container_runtime_t, var_log_t, proc_t;
756+
container_share_t, container_runtime_exec_t, container_runtime_t, var_log_t, proc_t, io_uring_t;
757757
class key { read view };
758758
class file { open read execute execute_no_trans create link lock rename write append setattr unlink getattr watch };
759759
class sock_file { watch write create unlink };
@@ -764,6 +764,8 @@ EOF
764764
class system module_request;
765765
class filesystem associate;
766766
class bpf map_create;
767+
class io_uring sqpoll;
768+
class anon_inode create;
767769
}
768770
769771
#============= kernel_generic_helper_t ==============
@@ -817,6 +819,8 @@ EOF
817819
allow container_t var_log_t:file unlink;
818820
allow container_t proc_t:filesystem associate;
819821
allow container_t self:bpf map_create;
822+
allow container_t io_uring_t:anon_inode create;
823+
allow container_t self:io_uring sqpoll;
820824
821825
# Create the k3s registries file if needed
822826
%{if var.k3s_registries != ""}

0 commit comments

Comments
 (0)