injector

package
v0.5.1-0...-faa3f61 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(args []string)

Main executes the tap-injector subcommand

func Mutate

func Mutate(tapSvcName string) webhook.Handler

Mutate mutates an AdmissionRequest and adds the LINKERD2_PROXY_TAP_SVC_NAME env var to a pod's proxy container if tap is not disabled via annotation on the pod or the namespace.

Types

type Params

type Params struct {
	ProxyPath       string
	ProxyTapSvcName string
}

Params holds the values used in the patch template.

Jump to

Keyboard shortcuts

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