[OpenShift] – How to install/deploy Operators Catalog in 3.11 version?

Screen Shot 2018-11-08 at 10.43.01

How to install?

Following the changes/variables required in the inventory file in order to install it.

# Deploy Operator Lifecycle Manager Tech Preview 
# See more about it here: https://docs.openshift.com/container-platform/3.11/install/configuring_inventory_file.html#configuring-the-operator-lifecycle-manager
openshift_enable_olm=true
# For Operator Framework Images 
# Note the "'test_image':'mongodb/enterprise-operator:0.3.2'"
openshift_additional_registry_credentials=[{'host':'registry.connect.redhat.com','user':'REPLACE_ME','password':'REPLACE_ME','test_image':'mongodb/enterprise-operator:0.3.2'}]

For further information see here the documentation over it.

tips Unable to access the Catalog Services

The error “catalogsources.operators.coreos.com is forbidden: User “payment1” cannot list catalogsources.operators.coreos.com in the namespace “operator-lifecycle-manager”: no RBAC policy matched” is faced when tries to have access on it.

Following the error faced in this situation.

Screen Shot 2018-11-08 at 10.48.31

Currently, it is a tech preview then just users with cluster admin permissions are able to use it. Following the command to give access to the users.

$ oc adm policy add-cluster-role-to-user cluster-admin <user>

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s