Documentation
¶
Index ¶
Constants ¶
const ( ConfigMapEncodingAnnotationKey = "olm.contentEncoding" ConfigMapEncodingAnnotationGzip = "gzip+base64" )
Variables ¶
This section is empty.
Functions ¶
func GetRegistryPodHost ¶
Types ¶
type FBCRegistryPod ¶
type FBCRegistryPod struct {
// BundleItems contains all bundles to be added to a registry pod.
BundleItems []index.BundleItem
// Index image contains a database of pointers to operator manifest content that is queriable via an API.
// new version of an operator bundle when published can be added to an index image
IndexImage string
// InitImage is the image to be used in the registry init container
InitImage string
// GRPCPort is the container grpc port
GRPCPort int32
// FBCContent represents the contents of the FBC file (string YAML).
FBCContent string
// FBCIndexRootDir is the FBC directory that exists under root of an FBC container image.
// This directory has the File-Based Catalog representation of a catalog index.
FBCIndexRootDir string
// SecurityContext defines the security context which will enable the
// SecurityContext on the Pod
SecurityContext string
// contains filtered or unexported fields
}
FBCRegistryPod holds resources necessary for creation of a registry pod in FBC scenarios.
func (*FBCRegistryPod) Create ¶
func (f *FBCRegistryPod) Create(ctx context.Context, cfg *operator.Configuration, cs *v1alpha1.CatalogSource) (*corev1.Pod, error)
Create creates a bundle registry pod built from an fbc index image, sets the catalog source as the owner for the pod and verifies that the pod is running