Documentation
¶
Overview ¶
Package v1 contains Pod Mutating Webhook handler which modifies Pod annotations to attach Linkerd-CNI via Multus Network Attachment Definition.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PodAnnotator ¶
PodAnnotator adds Multus annotation to a Pod to attach Linkerd CNI via Multus.
func (*PodAnnotator) Handle ¶
Handle implements WebHook handler. Checks if a Pod or its Namespace have "linkerd.io/multus" annotation and then appends to "k8s.v1.cni.cncf.io/networks" annotations the linkerd-cni network.
func (*PodAnnotator) InjectDecoder ¶
func (a *PodAnnotator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects provided decoder to the WebHook instance.
Click to show internal directories.
Click to hide internal directories.