Documentation ¶
Index ¶
- Constants
- func ConfigMap(node corev1.Node, m v1alpha2.MondooAuditConfig) *corev1.ConfigMap
- func ConfigMapName(prefix, nodeName string) string
- func CronJob(image string, node v1.Node, m v1alpha2.MondooAuditConfig) *batchv1.CronJob
- func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
- func CronJobName(prefix, suffix string) string
- func Inventory(node corev1.Node, m v1alpha2.MondooAuditConfig) string
- func NodeNameOrHash(allowedLen int, nodeName string) string
- func OldConfigMapName(prefix string) string
- func OldCronJobName(prefix, suffix string) string
- type DeploymentHandler
Constants ¶
View Source
const ( CronJobNameBase = "-node-" InventoryConfigMapBase = "-node-inventory-" // TODO: remove in a follow-up version OldCronJobNameBase = "-node-scanning-" OldInventoryConfigMapSuffix = "-node-scanning-inventory" // Execute hourly CronTab = "0 * * * *" InventoryNodeNamePlaceholder = "{{node-name}}" )
Variables ¶
This section is empty.
Functions ¶
func ConfigMapName ¶
func CronJobLabels ¶
func CronJobLabels(m v1alpha2.MondooAuditConfig) map[string]string
func CronJobName ¶
func NodeNameOrHash ¶ added in v0.2.13
func OldConfigMapName ¶ added in v0.2.13
func OldCronJobName ¶ added in v0.2.11
Types ¶
type DeploymentHandler ¶
type DeploymentHandler struct { KubeClient client.Client Mondoo *v1alpha2.MondooAuditConfig ContainerImageResolver mondoo.ContainerImageResolver MondooOperatorConfig *v1alpha2.MondooOperatorConfig }
Click to show internal directories.
Click to hide internal directories.