Skip to content

Commit

Permalink
Merge pull request #1223 from kube-hetzner/add/selinux-rules
Browse files Browse the repository at this point in the history
Adding missing selinux rules
  • Loading branch information
mysticaltech authored Feb 23, 2024
2 parents 98d933d + 123377d commit 356eca3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -753,7 +753,7 @@ EOF
type kernel_t, bin_t, kernel_generic_helper_t, iscsid_t, iscsid_exec_t, var_run_t,
init_t, unlabeled_t, systemd_logind_t, systemd_hostnamed_t, container_t,
cert_t, container_var_lib_t, etc_t, usr_t, container_file_t, container_log_t,
container_share_t, container_runtime_exec_t, container_runtime_t, var_log_t, proc_t;
container_share_t, container_runtime_exec_t, container_runtime_t, var_log_t, proc_t, io_uring_t;
class key { read view };
class file { open read execute execute_no_trans create link lock rename write append setattr unlink getattr watch };
class sock_file { watch write create unlink };
Expand All @@ -764,6 +764,8 @@ EOF
class system module_request;
class filesystem associate;
class bpf map_create;
class io_uring sqpoll;
class anon_inode create;
}
#============= kernel_generic_helper_t ==============
Expand Down Expand Up @@ -817,6 +819,8 @@ EOF
allow container_t var_log_t:file unlink;
allow container_t proc_t:filesystem associate;
allow container_t self:bpf map_create;
allow container_t io_uring_t:anon_inode create;
allow container_t self:io_uring sqpoll;
# Create the k3s registries file if needed
%{if var.k3s_registries != ""}
Expand Down

0 comments on commit 356eca3

Please sign in to comment.