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¶
- Log in to the OpenShift Container Platform web console.
- Navigate to Operators, then click on OperatorHub.
- Enter Venafi Control Plane Operator into the filter field.
- Select the Venafi Control Plane Operator provided by Venafi.
- Select the Venafi Control Plane Operator version from the Version drop-down list, and click Install.
- On the Install Operator page:
- Update the Update channel, if necessary. The channel defaults to
stable
, which installs the latest stable release of the Venafi Control Plane Operator. - Choose the Installed Namespace for the Operator. The default Operator namespace is
venafi
. If thevenafi
namespace does not exist, it is created for you. - 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.
- Click Install.
- Update the Update channel, if necessary. The channel defaults to
Verifying the installation¶
- Navigate to Operators, then click on Installed Operators.
- 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¶
-
Create a new project named
venafi
by running the following command:oc new-project venafi
-
Create an
OperatorGroup
object:-
Create a YAML file, for example,
operatorGroup.yaml
, with the following content:operatorGroup.yamlapiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: vcp-operator namespace: venafi spec: targetNamespaces: []
-
Create the
OperatorGroup
object by running the following command:oc create -f operatorGroup.yaml
-
-
Create a
Subscription
object:-
Create a YAML file, for example,
subscription.yaml
, that defines the Subscription object:subscription.yamlapiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: vcp-operator namespace: venafi spec: channel: stable config: # (1)! resources: requests: memory: "512Mi" cpu: "250m" limits: memory: "2Gi" cpu: "500m" name: vcp-operator source: certified-operators sourceNamespace: openshift-marketplace installPlanApproval: Automatic startingCSV: vcp-operator.v1.4.0
- The values in this section are sample values only.
Important
The values for parameters in the
config
section are for illustrative purposes only, to show you what custom settings you can use when deploying Venafi Control Plane Operator. You may want to change these to suit your own use case. -
Create the
Subscription
object by running the following command:oc create -f subscription.yaml
-
Verifying the installation¶
-
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
-
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.4.0 Venafi Control Plane Operator v1.4.0 1.0.2 Succeeded
-
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