Documentation ¶
Overview ¶
Package injector implements OSM's automatic sidecar injection facility. The sidecar injector's mutating webhook admission controller intercepts pod creation requests to mutate the pod spec to inject the sidecar proxy.
Index ¶
Constants ¶
View Source
const (
// MutatingWebhookName is the name of the mutating webhook used for sidecar injection
MutatingWebhookName = "osm-inject.k8s.io"
)
Variables ¶
This section is empty.
Functions ¶
func NewMutatingWebhook ¶ added in v0.7.0
func NewMutatingWebhook(ctx context.Context, kubeClient kubernetes.Interface, certManager *certificate.Manager, kubeController k8s.Controller, meshName, osmNamespace, webhookConfigName, osmVersion string, webhookTimeout int32, enableReconciler bool, cfg configurator.Configurator, osmContainerPullPolicy corev1.PullPolicy) error
NewMutatingWebhook starts a new web server handling requests from the injector MutatingWebhookConfiguration
Types ¶
Click to show internal directories.
Click to hide internal directories.