Fix SCC for Seccomp
Allow using the custom profile
with our custom SCC
@@ -77,6 +77,7 @@ func NewKubeVirtControllerSCC(namespace string) *secv1.SecurityContextConstraint
scc.SeccompProfiles = []string{
"runtime/default",
"unconfined",
+ "localhost/kubevirt/kubevirt.json",
}
scc.AllowedCapabilities = []corev1.Capability{
// add CAP_SYS_NICE capability to allow setting cpu affinity
