Events operator fails on OpenShift Container Platform

Events operator versions 5.0.x, 5.1.x, and 5.2.0 do not work with Red Hat® OpenShift® Container Platform version 4.20 with Kubernetes version 1.33.5 and later.

Symptom

The ibm-events-operator operator versions 5.0.x, 5.1.x, and 5.2.0 fail in a CrashLoopBackOff status when on OpenShift Container Platform version 4.20 with Kubernetes version 1.33.5 and later.

Resolution

To resolve the issue, either use Events operator version 5.2.1 or add an environment variable to Events operator version 5.0.x, 5.1.x, or 5.2.0.

  • Deploy Events operator version 5.2.1 or later on OpenShift Container Platform version 4.20 or later.
  • Or add the following environment variable to the operator deployment or subscription and ClusterServiceVersion (CSV).
    STRIMZI_KUBERNETES_VERSION="major=1,minor=33"
    1. Get the ibm-events-operator CSV.
      # oc get csv -n deploy_namespace | grep ibm-events-operator
      ibm-events-operator.v5.1.2                     IBM Events Operator                    5.1.2                Succeeded
    2. Update the ibm-events-operator.v5.1.2 CSV. In the spec.install.spec.deployments[].spec.template.spec.containers[].env section, add the environment variable:
      spec:
        install:
          spec:
            deployments:
               spec:
                  template:
                     spec:
                        containers:
                           env:
                            - name: STRIMZI_KUBERNETES_VERSION
                              value: 'major=1,minor=33'