bundle

package
v0.5.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBundleController

func AddBundleController(ctx context.Context, mgr manager.Manager, opts Options) error

AddBundleController will register the Bundle controller with the controller-runtime Manager. The Bundle controller will reconcile Bundles on Bundle events, as well as when any related resource event in the Bundle source and target. The controller will only cache metadata for ConfigMaps and Secrets.

Types

type Options

type Options struct {
	// Log is the Bundle controller logger.
	Log logr.Logger

	// Namespace is the trust Namespace that source data can be referenced.
	Namespace string

	// DefaultPackageLocation is the location on the filesystem from which the 'default'
	// certificate package should be loaded. If set, a valid package must be successfully
	// loaded in order for the controller to start. If unset, referring to the default
	// certificate package in a `Bundle` resource will cause that Bundle to error.
	DefaultPackageLocation string
}

Options hold options for the Bundle controller.

Jump to

Keyboard shortcuts

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