-
Notifications
You must be signed in to change notification settings - Fork 19
Undeploying bpfman selinux example programs hang on OpenShift #331
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
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 <[email protected]>
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 <[email protected]>
…s/component-update-ocp-bpfman-operator-bundle chore(deps): update ocp-bpfman-operator-bundle to 631d3da
This has been fixed in security-profiles-operator v0.9.1. Just waiting for it to get merged into OperatorHub: Once that merges, the examples deployment code in bpfman repository will need to be updated: |
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: