we have some error than deploy oneAgent operator for OpenShift
After deploy openshift.yaml we have next error
The server doesn't have a resource type "kind: SecurityContextConstraints, apiVersion: v1".
Could you please tell me the reason for the error and how to fix it ?
What Openshift version do you use ? Do you get that error immediately after you deploy openshift.yaml ? That file deploys Security Context Constraints Object, (lines 911-943)
I would start with OpenShift doc to examine what'g going on there (depending on version of your Openshift platform)
The cluster throws errors that an Object does not exist due to two reasons:
1- it really does not exist,
2- the user does not have the rights to see that object
most likely in your case the user does not have the rights to create those kind of objects
If this is not the reason what you can also try is to edit that excerpt of yaml file changing apiVersion from:
based on OpenShift 4.5 doc