-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undeploying bpfman selinux example programs hang on OpenShift #331
Comments
After deploying the selinux profile, the status on the Selinux Profile is “Pending”. security-profiles-operator is currently deployed in OpenShift by making it a dependency of bpfman-operator. As a result, the security-profiles-operator is deployed in the bpfman namespace. security-profiles-operator encounters issues with this because there are other daemonsets in the namespace. Short term, remove the dependency. security-profiles-operator is still required, it just won't be auto-installed. Related: bpfman#331 Related: kubernetes-sigs/security-profiles-operator#2699 Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
There are two issues here:
This is because security-profiles-operator is currently deployed in OpenShift by making it a dependency of bpfman-operator via See: kubernetes-sigs/security-profiles-operator#2699
Upon further testing, if the application namespace is not deleted until after the SelinuxProfile is deleted, everything cleans up fine. This is a bug in security-profiles-operator. |
After deploying the selinux profile, the status on the Selinux Profile is “Pending”. security-profiles-operator is currently deployed in OpenShift by making it a dependency of bpfman-operator. As a result, the security-profiles-operator is deployed in the bpfman namespace. security-profiles-operator encounters issues with this because there are other daemonsets in the namespace. Short term, remove the dependency. security-profiles-operator is still required, it just won't be auto-installed. Related: bpfman#331 Related: kubernetes-sigs/security-profiles-operator#2699 Signed-off-by: Billy McFall <22157057+Billy99@users.noreply.github.com>
…s/component-update-ocp-bpfman-operator-bundle chore(deps): update ocp-bpfman-operator-bundle to 631d3da
Running
make deploy-*-selinux
to an OpenShift cluster seems to work, butmake undeploy-*-selinux
hangs.On closer inspection, after deploying, the selinux profile stays in the “Pending” state which doesn’t seem right. Then, after running the undeploy command, the namespace is waiting on an selinux profile and a number of finalizers.
For more details search for the test case starting with "$ k apply -f go-tracepoint-counter-install-selinux.yaml" in bpfman Selinux Test.
The text was updated successfully, but these errors were encountered: