Alerted with OutOfSync due to not matched yaml manifest with synced one
Issue
- It's evaluated as "OutOfSync" status due to missing "allowedFlexVolumes: []" field in the scc object after syncing in OpenShift GitOps.
// Your Security Context Constraints(SCC) yaml would be like the below one in your git repo.
allowHostDirVolumePlugin: true
allowHostIPC: false
allowHostNetwork: true
allowHostPID: true
allowHostPorts: true
allowPrivilegeEscalation: true
allowPrivilegedContainer: false
allowedFlexVolumes: [] <--- This field is defined specifically. However it's disappeared after syncing.
allowedCapabilities: []
apiVersion: security.openshift.io/v1
:
Environment
- OpenShift Container Platform
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.