4.8. Updating the pods which have mismatch
Update the SELinux context of the pods if a mismatch is found by using the following procedure.
Procedure
- When there is a mismatch of the SELinux content, create a new security context constraint (SCC) and assign it to both pods. To create a SCC, see Creating security context constraints.
Update the SELinux context as shown in the following example:
Example output
[...] securityContext:privileged seLinuxOptions:MustRunAs level: "s0:cXX,cYY" [...]