Chapter 2. Install
You install Red Hat build of Trustee by installing the Red Hat build of Trustee Operator.
2.1. Prerequisites Copy linkLink copied to clipboard!
You have installed a supported version of Red Hat OpenShift Container Platform in a trusted environment. For supported versions, see the OpenShift Container Platform Life Cycle Policy. For installation information, see Installing a user-provisioned bare metal cluster on a disconnected environment
2.2. Installing the Red Hat build of Trustee Operator Copy linkLink copied to clipboard!
You install the Red Hat build of Trustee Operator on an OpenShift Container Platform cluster in a trusted environment.
Prerequisites
-
You have access to the cluster as a user with the
cluster-adminrole. -
You have installed the OpenShift CLI tool (
oc). - You have disabled the default catalog sources and mirrored the Operator catalog. For details, see Using Operator Lifecycle Manager in disconnected environments in the OpenShift Container Platform documentation.
Procedure
Create a
trustee-namespace.yamlmanifest file:apiVersion: v1 kind: Namespace metadata: name: trustee-operator-systemCreate the
trustee-operator-systemnamespace by running the following command:$ oc create -f trustee-namespace.yamlCreate a
trustee-operatorgroup.yamlmanifest file:apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata: name: trustee-operator-group namespace: trustee-operator-system spec: targetNamespaces: - trustee-operator-systemCreate the operator group by running the following command:
$ oc create -f trustee-operatorgroup.yamlCreate a
trustee-subscription.yamlmanifest file:apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata: name: trustee-operator-system namespace: trustee-operator-system spec: channel: stable installPlanApproval: Automatic name: trustee-operator source: redhat-operators sourceNamespace: openshift-marketplaceCreate the subscription by running the following command:
$ oc create -f trustee-subscription.yamlVerify that the Operator is correctly installed by running the following command:
$ oc get csv -n trustee-operator-systemThis command can take several minutes to complete.
Watch the process by running the following command:
$ watch oc get csv -n trustee-operator-systemExample output
NAME DISPLAY PHASE trustee-operator.v1.1.0 Trustee Operator 1.1.0 Succeeded