Open nev888 opened 2 months ago
Did you change the kind
in ProfileRecoding
to SelinuxProfile
? It supports only the log
recorder for Selinux. Could you share the ProfileRecording
CR that you are creating?
Also there are some more guidelines in https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/installation-usage.md#create-a-selinux-profile.
Yes, the kind is set to SelinuxProfile and the recording is log. The profile is also attached profilerecoding.txt
spod-zjn2z_security-profiles-operator.log security-profiles-operator-webhook.log security-profiles-operator.log
What happened:
I'm trying to create SelinuxProfile using ProfileRecordings however SeccompProfile is created instead.
What you expected to happen:
I expected SelinuxProfile to be created.
How to reproduce it (as minimally and precisely as possible):
installation followed:
https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/installation-usage.md
profile recording followed:
https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/installation-usage.md#record-profiles-from-workloads-with-profilerecordings
restricted it to single namespace:
https://github.com/kubernetes-sigs/security-profiles-operator/blob/main/installation-usage.md#restricting-to-a-single-namespace-with-upstream-deployment-manifests
Environment:
Openshift environment