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
If you prefer using the OpenShift web console to manage your cluster. -
Installing the
cert-manager
operator for Red Hat OpenShift by using the CLI
If you prefer using the command line to manage your cluster.
Installing the cert-manager
operator for Red Hat OpenShift by using the OpenShift console
- Log in to the OpenShift Container Platform console.
- Navigate to Operators > OperatorHub.
- Enter
cert-manager
Operator for Red Hat OpenShift into the filter box. - Select the
cert-manager
Operator for Red Hat OpenShift. - Select the
cert-manager
Operator for Red Hat OpenShift version from Version drop-down list, and click Install. - On the Install Operator page:
- Update the Update channel, if necessary. The channel defaults to
stable-v1
, which installs the latest stable release of thecert-manager
Operator for Red Hat OpenShift. - Choose the Installed Namespace for the Operator. The default Operator namespace is
cert-manager-operator
. If thecert-manager-operator
namespace does not exist, it is created for you. - 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.
- Update the Update channel, if necessary. The channel defaults to
- Click Install.
Verifying the installation
- Navigate to Operators > Installed Operators.
- Verify that
cert-manager
Operator for Red Hat OpenShift is listed with a Status of Succeeded in thecert-manager-operator
namespace. - Navigate to Workloads > Pods.
- Select the cert-manager-operator project.
- Verify that the status of the
cert-manager
pods are Running.
Installing the cert-manager
operator for Red Hat OpenShift by using the CLI
-
Log in to the cluster by using the
oc login
command. -
Create a new project named
cert-manager-operator
by running the following command:oc new-project cert-manager-operator
-
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"
-
Create the
OperatorGroup
object by running the following command:oc create -f certmanagerOperatorGroup.yaml
-
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
-
Create the
OperatorGroup
object by running the following command:oc create -f certmanagerSubscription.yaml
Verifying the installation
-
Verify that the OLM subscription is created by running the following command:
oc get subscription -n cert-manager-operator
-
Verify whether the operator is successfully installed by running the following command:
oc get csv -n cert-manager-operator
-
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
-
Verify that the status of
cert-manager
pods is Running by running the following command:oc get pods -n cert-manager