Upgrading the IBM Process Mining application

You can upgrade the IBM Process Mining application from version 2.1.1 to version 2.2.0. The following instructions are applicable to both CP4BA and non-CP4BA environments. Do the following steps to update the namespace for IBM Process Mining:

  1. Set the PM_PROJECT variable to your namespace with the following command:
    export PM_PROJECT=<'YOUR-NAMESPACE'>
  2. Verify the current IBM Process Mining version with the following command:
    oc get csv -n $PM_PROJECT | grep processmining
  3. Delete the catalog source with the following command:
    oc delete catalogsource ibm-automation-processminings -n $PM_PROJECT
  4. Upgrade the IBM Process Mining Operator catalog with the following command:
    cat <<EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1alpha1
    kind: CatalogSource
    metadata:
      name: ibm-automation-processminings
      namespace: ${PM_PROJECT}
    spec:
      displayName: ibm-process-mining-4.2.0
      publisher: IBM
      sourceType: grpc
      image: icr.io/cpopen/processmining-operator-catalog@sha256:cc2d6286fce49a84f9d9c24170d9a267158a91bfd104c8173de2f9efc8d94076
      updateStrategy:
        registryPoll:
          interval: 45m
    EOF
    
  5. Verify that the catalog source is ready with the following command:
    oc get catalogsource ibm-automation-processminings -n ${PM_PROJECT} -o jsonpath='{.status.connectionState.lastObservedState}'

    Wait until the output is READY before proceeding to the next step.

  6. Create the subscription with the following command:
    cat <<EOF | oc apply -f -
    apiVersion: operators.coreos.com/v1alpha1
    kind: Subscription
    metadata:
      name: processmining-subscription
      namespace: processmining
    spec:
      channel: v4.0
      installPlanApproval: Automatic
      name: ibm-automation-processmining
      source: ibm-automation-processminings
      sourceNamespace: processmining
    EOF
    
  7. Check the status of the processmining operator with the following command:
    oc get csv -n $PM_PROJECT | grep processmining
    You should see the following message:
    ibm-automation-processmining.v4.2.0          
    IBM Process Mining 4.2.0        
    ibm-automation-processmining.<previous_operator>
    Succeeded
    You can now verify if Redis upgrade was successful. For more information, see Upgrading the dependencies.