webhook

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FleetWebhookCertFileName = "tls.crt"
	FleetWebhookKeyFileName  = "tls.key"
	FleetWebhookCfgName      = "fleet-validating-webhook-configuration"
)

Variables

View Source
var AddToManagerFuncs []func(manager.Manager) error
View Source
var WebhookServiceNs string

Functions

func AddToManager

func AddToManager(m manager.Manager) error

AddToManager adds all Controllers to the Manager

func CreateFleetWebhookConfiguration

func CreateFleetWebhookConfiguration(ctx context.Context, client client.Client, caPEM []byte, port int) error

CreateFleetWebhookConfiguration creates the ValidatingWebhookConfiguration object for the webhook

func GenCertificate

func GenCertificate(certDir string) ([]byte, error)

GenCertificate generates the serving cerficiate for the webhook server

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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