operator-marketplace

module
v0.0.0-...-cfb26ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2024 License: Apache-2.0

README

Marketplace Operator

Marketplace is a conduit to bring off-cluster operators to your cluster.

Prerequisites

In order to deploy the Marketplace Operator, you must:

  1. Have an OKD with Operator Lifecycle Manager (OLM) installed.
  2. Be logged in as a user with Cluster Admin role.

Using the Marketplace Operator

Description

The operator manages one CRD: OperatorHub.

OperatorHub

The OperatorHub named cluster is used to manage default catalogSources found on OpenShift distributions.

Here is a description of the spec fields:

  • disableAllDefaultSources allows you to disable all the default hub sources. If this is true, a specific entry in sources can be used to enable a default source. If this is false, a specific entry in sources can be used to disable or enable a default source.

  • sources is the list of default hub sources and their configuration. If the list is empty, it implies that the default hub sources are enabled on the cluster unless disableAllDefaultSources is true. If disableAllDefaultSources is true and sources is not empty, the configuration present in sources will take precedence. The list of default hub sources and their current state will always be reflected in the status block.

Please see [here][https://docs.openshift.com/container-platform/4.13/operators/understanding/olm-understanding-operatorhub.html] for more information.

Deploying the Marketplace Operator with OKD

The Marketplace Operator is deployed by default with OKD and no further steps are required.

Marketplace End to End (e2e) Tests

A full writeup on Marketplace e2e testing can be found here

Directories

Path Synopsis
cmd
pkg
apis/config/v1
Package v1 contains API Schema definitions for the config v1 API group +k8s:deepcopy-gen=package,register +groupName=config.openshift.io
Package v1 contains API Schema definitions for the config v1 API group +k8s:deepcopy-gen=package,register +groupName=config.openshift.io
apis/operators/shared
Package shared contains structs used by various API groups +k8s:deepcopy-gen=package,register +groupName=operators.coreos.com
Package shared contains structs used by various API groups +k8s:deepcopy-gen=package,register +groupName=operators.coreos.com

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL