Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HandlerName is the name of the webhook handler. HandlerName = "kubernetes-service-host" // WebhookPath is the path at which the handler should be registered. WebhookPath = "/webhooks/kubernetes-service-host" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
Handler handles admission requests and injects the KUBERNETES_SERVICE_HOST environment variable into all containers in pods.
func (*Handler) AddToManager ¶
AddToManager adds Handler to the given manager.
Click to show internal directories.
Click to hide internal directories.