Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace kubernetes_file_t with rke_etc_t for centos7
Centos7 uses container-selinux-2.119.2-1.911c772.el7_8.noarch (latest) which doesn't include kubernetes_file_t (introduced in v2.144 and later). Although this type is used (required) to create rke_kubereader_t in rancher.te, thus the type rke_kubereader_t is not installable/available. The container k8s_copy-certs_pushprox-kube-etcd-client (Monitoring chart) then falls back to container_t. This commit replaces kubernetes_file_t with rke_etc_t, by keeping the same permissions.
- Loading branch information