nodes

package
v0.2.9 Latest Latest
Warning

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

Go to latest
Published: May 11, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CronJobNameBase = "-node-scanning-"

	// Execute hourly
	CronTab                  = "0 * * * *"
	InventoryConfigMapSuffix = "-node-scanning-inventory"
)
View Source
const (
	// TODO: remove this once the cleanup code is deleted.
	OldNodeDaemonSetNameTemplate = `%s-node`
)

Variables

This section is empty.

Functions

func ConfigMapName

func ConfigMapName(prefix string) string

func CronJob

func CronJob(image string, node v1.Node, m v1alpha2.MondooAuditConfig) *batchv1.CronJob

func CronJobLabels

func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string

func CronJobName

func CronJobName(prefix string, suffix string) string

func Inventory

func Inventory(m v1alpha2.MondooAuditConfig) string

Types

type DeploymentHandler

type DeploymentHandler struct {
	KubeClient             client.Client
	Mondoo                 *v1alpha2.MondooAuditConfig
	ContainerImageResolver mondoo.ContainerImageResolver
	MondooOperatorConfig   *v1alpha2.MondooOperatorConfig
}

func (*DeploymentHandler) Reconcile

func (n *DeploymentHandler) Reconcile(ctx context.Context) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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