admission

package
v1.9.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTLSCertificatesSecretName

func GetTLSCertificatesSecretName(mondooAuditConfigName string) string

GetTLSCertificatesSecretName takes the name of a MondooAuditConfig resources and returns the expected Secret name where the TLS certs will be stored.

func WebhookDeployment

func WebhookDeployment(ns, image string, m mondoov1alpha2.MondooAuditConfig, integrationMRN, clusterID string) *appsv1.Deployment

func WebhookDeploymentLabels added in v0.7.2

func WebhookDeploymentLabels() map[string]string

Types

type CertManagerHandler

type CertManagerHandler struct {
	Mondoo          *v1alpha2.MondooAuditConfig
	KubeClient      client.Client
	TargetNamespace string
	Scheme          *runtime.Scheme
}

func (*CertManagerHandler) Cleanup

func (c *CertManagerHandler) Cleanup(ctx context.Context) error

func (*CertManagerHandler) GetAnnotations added in v0.6.0

func (c *CertManagerHandler) GetAnnotations() (string, string)

func (*CertManagerHandler) Setup

func (c *CertManagerHandler) Setup(ctx context.Context) error

type DeploymentHandler added in v0.2.8

type DeploymentHandler struct {
	Mondoo                 *mondoov1alpha2.MondooAuditConfig
	KubeClient             client.Client
	TargetNamespace        string
	ContainerImageResolver mondoo.ContainerImageResolver
	MondooOperatorConfig   *mondoov1alpha2.MondooOperatorConfig
}

func (*DeploymentHandler) Reconcile added in v0.2.8

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