container_image

package
v1.15.1 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2023 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// TODO: remove in next version
	OldCronJobNameSuffix = "-k8s-images-scan"

	CronJobNameSuffix      = "-containers-scan"
	InventoryConfigMapBase = "-containers-inventory"
)

Variables

This section is empty.

Functions

func ConfigMap

func ConfigMap(integrationMRN, clusterUID string, m v1alpha2.MondooAuditConfig) (*corev1.ConfigMap, error)

func ConfigMapName

func ConfigMapName(prefix string) string

func CronJob

func CronJob(image, integrationMrn, clusterUid, privateImageScanningSecretName string, m v1alpha2.MondooAuditConfig) *batchv1.CronJob

func CronJobLabels

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

func CronJobName

func CronJobName(prefix string) string

func Inventory

func Inventory(integrationMRN, clusterUID string, m v1alpha2.MondooAuditConfig) (string, error)

func OldCronJobName

func OldCronJobName(prefix string) string

TODO: remove in next version

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