Skip to content

Installing Venafi Control Plane Operator

Installing Venafi Control Plane Operator for Red Hat OpenShift is a simple procedure, done directly from OperatorHub.

Installing Venafi Control Plane Operator by using the OpenShift web console

Prerequisites

  • You have access to the OpenShift Container Platform web console.
  • You have access to the cluster with cluster-admin privileges.

How to install Venafi Control Plane Operator using the OpenShift web console

  1. Log in to the OpenShift Container Platform web console.
  2. Navigate to Operators, then click on OperatorHub.
  3. Enter Venafi Control Plane Operator into the filter field.
  4. Select the Venafi Control Plane Operator provided by Venafi.
  5. Select the Venafi Control Plane Operator version from the 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, which installs the latest stable release of the Venafi Control Plane Operator.
    2. Choose the Installed Namespace for the Operator. The default Operator namespace is venafi. If the venafi namespace does not exist, it is created for you.
    3. Select an Update approval strategy.
      • 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.
    4. Click Install.

Verifying the installation

  1. Navigate to Operators, then click on Installed Operators.
  2. Verify that Venafi Control Plane Operator is listed with a Status of Succeeded in the venafi namespace.

Installing Venafi Control Plane Operator using the OpenShift CLI tool

Prerequisites

  • You have the OpenShift CLI tool (oc) available on your system.
  • You have access to the cluster with cluster-admin privileges.

How to install Venafi Control Plane Operator using the OpenShift CLI tool

  1. Create a new project named venafi by running the following command:

    oc new-project venafi
    

  2. Create an OperatorGroup object:

    1. Create a YAML file, for example, operatorGroup.yaml, with the following content:

      operatorGroup.yaml
      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: vcp-operator
        namespace: venafi
      spec:
        targetNamespaces:
        - "venafi"
      
    2. Create the OperatorGroup object by running the following command:

      oc create -f operatorGroup.yaml
      

  3. Create a Subscription object:

    1. Create a YAML file, for example, subscription.yaml, that defines the Subscription object:

      subscription.yaml
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: vcp-operator
        namespace: venafi
      spec:
        channel: stable
        name: vcp-operator
        source: redhat-operators
        sourceNamespace: openshift-marketplace
        installPlanApproval: Manual
        startingCSV: vcp-operator-image.v1.1.1
      
    2. Create the Subscription object by running the following command:

      oc create -f subscription.yaml
      

Verifying the installation

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

    oc get subscription -n venafi
    

    Sample output:

    NAME                              PACKAGE                           SOURCE             CHANNEL
    vcp-operator                      vcp-operator                      redhat-operators   stable
    
  2. Verify whether the Venafi Control Plane Operator is successfully installed by running the following command:

    oc get csv -n venafi
    

    Sample output:

    NAME                    DISPLAY                                VERSION   REPLACES    PHASE
    vcp-operator.v1.1.1     Venafi Control Plane Operator           v1.1.1     1.0.2      Succeeded
    
  3. Verify that the status Venafi Control Plane is running by executing the following command:

    oc get pods -n venafi
    

    Sample output:

    NAME                                       READY   STATUS    RESTARTS   AGE
    vcp-operator-12b7f649c4-dp631              1/1     Running   0          1m1s