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, targetCache cache.Cache, ) 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 // SecretTargetsEnabled controls if secret targets are enabled in the Bundle API. SecretTargetsEnabled bool // FilterExpiredCerts controls if expired certificates are filtered from the bundle. FilterExpiredCerts bool }
Options hold options for the Bundle controller.
Click to show internal directories.
Click to hide internal directories.