JAORMX / selinux-operator

operator that tracks SelinuxPolicy objects in certain namespaces.
12 stars 1 forks source link

SLES 15 SP1 support with SELinux enable #1

Open akashpatel2 opened 4 years ago

akashpatel2 commented 4 years ago

Subject : SLES 15 SP1 support with SELinux enable

Can this operator be installed on SUSE / SLES 15 SP1 with SELinux enable ?

Basically my requirement is, Create a kubernetes cluster with SLES15SP1 nodes (master as well as worker) with SELinux enable. will your operator will generate and apply the SELinux policies on pods deployed by some applications on this K8S cluster ?

Thanks, Akash

JAORMX commented 4 years ago

@akashpatel2 hey! Thanks for checking this out! I've only tested this with with coreos and RHEL unfortunately. If you would like to try it out in SLES let me know how it goes and I'll gladly take contributions!

akashpatel2 commented 4 years ago

@akashpatel2 hey! Thanks for checking this out! I've only tested this with with coreos and RHEL unfortunately. If you would like to try it out in SLES let me know how it goes and I'll gladly take contributions!

sure, i will be testing on sles hosts. And one quick question, is it possible to run/test this operator on non openshift kubernetes cluster ? If yes, can you send me the steps ?

JAORMX commented 4 years ago

@akashpatel2 anything needed to deploy should be available in the deploy directory. So, first deploy the CRDs (which are in deploy/crds, and then the operator:

kubectl create -f deploy/ns.yaml
kubectl create -n openshift-selinux-operator -f deploy/