Integration tests in example applications does not work against OCP 4.
Tested with rest-http-example tag 2.2.6-4-redhat. Executing
mvn clean verify -Popenshift,openshift-it
leads to to error:
java.lang.RuntimeException: io.fabric8.kubernetes.clnt.v3_1.KubernetesClientException: Failure executing: GET at: https://api.ocp4.dynamic.rhoar:6443/apis/extensions/v1beta1/namespaces/mocenas/replicasets. Message: the server could not find the requested resource. Received status: Status(apiVersion=v1, code=404, details=StatusDetails(causes=[], group=null, kind=null, name=null, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=the server could not find the requested resource, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=NotFound, status=Failure, additionalProperties={}).