webhook

package
v0.0.31 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// TenantIDAnnotation represent the tenantID to be used with pod
	TenantIDAnnotation = "azure.workload.identity/tenant-id"
)

Variables

This section is empty.

Functions

func NewServiceAccountMutator

func NewServiceAccountMutator(client client.Client, reader client.Reader, scheme *runtime.Scheme, log logr.Logger) (admission.Handler, error)

NewServiceAccountMutator returns a pod mutation handler

func ReportRequest

func ReportRequest(ctx context.Context, namespace string, duration time.Duration)

ReportRequest reports the request duration for the given namespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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