Installing the cert-manager operator for Red Hat OpenShift

Starting from IBM RPA version 23.0.19, the cert-manager operator for Red Hat OpenShift is now required by the IBM RPA operator.

Choose one of the following methods to install the operator:

Installing the cert-manager operator for Red Hat OpenShift by using the OpenShift console

  1. Log in to the OpenShift Container Platform console.
  2. Navigate to Operators > OperatorHub.
  3. Enter cert-manager Operator for Red Hat OpenShift into the filter box.
  4. Select the cert-manager Operator for Red Hat OpenShift.
  5. Select the cert-manager Operator for Red Hat OpenShift version from Version drop-down list, and click Install.
  6. On the Install Operator page:
    1. Update the Update channel, if necessary. The channel defaults to stable-v1, which installs the latest stable release of the cert-manager Operator for Red Hat OpenShift.
    2. Choose the Installed Namespace for the Operator. The default Operator namespace is cert-manager-operator. If the cert-manager-operator namespace does not exist, it is created for you.
    3. Select an Update approval strategy.
      • Recommended: The Automatic strategy allows Operator Lifecycle Manager (OLM) to automatically update the Operator when a new version is available.
      • The Manual strategy requires a user with appropriate credentials to approve the Operator update.
  7. Click Install.

Verifying the installation

  1. Navigate to Operators > Installed Operators.
  2. Verify that cert-manager Operator for Red Hat OpenShift is listed with a Status of Succeeded in the cert-manager-operator namespace.
  3. Navigate to Workloads > Pods.
  4. Select the cert-manager-operator project.
  5. Verify that the status of the cert-manager pods are Running.

Installing the cert-manager operator for Red Hat OpenShift by using the CLI

  1. Log in to the cluster by using the oc login command.

  2. Create a new project named cert-manager-operator by running the following command:

    oc new-project cert-manager-operator
    
  3. Create a YAML file named certmanagerOperatorGroup.yaml with the following definition:

    apiVersion: operators.coreos.com/v1
    kind: OperatorGroup
    metadata:
        name: openshift-cert-manager-operator
        namespace: cert-manager-operator
    spec:
        targetNamespaces:
        - "cert-manager-operator"
    
  4. Create the OperatorGroup object by running the following command:

    oc create -f certmanagerOperatorGroup.yaml
    
  5. Create a YAML file named certmanagerSubscription.yaml with the following definition:

    apiVersion: operators.coreos.com/v1alpha1
    kind: Subscription
    metadata:
        name: openshift-cert-manager-operator
        namespace: cert-manager-operator
    spec:
        channel: stable-v1
        name: openshift-cert-manager-operator
        source: redhat-operators
        sourceNamespace: openshift-marketplace
        installPlanApproval: Automatic
        startingCSV: cert-manager-operator.v1.13.0
    
  6. Create the OperatorGroup object by running the following command:

    oc create -f certmanagerSubscription.yaml
    

Verifying the installation

  1. Verify that the OLM subscription is created by running the following command:

    oc get subscription -n cert-manager-operator
    
  2. Verify whether the operator is successfully installed by running the following command:

    oc get csv -n cert-manager-operator
    
  3. Verify that the status cert-manager Operator for Red Hat OpenShift is Running by running the following command:

    oc get pods -n cert-manager-operator
    
  4. Verify that the status of cert-manager pods is Running by running the following command:

    oc get pods -n cert-manager