admission

package
v0.2.10 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	WebhookLabelKey   = "control-plane"
	WebhookLabelValue = "webhook-manager"
)

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, clusterID string) *appsv1.Deployment

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) Setup

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