Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( CACert = "/tmp/k8s-webhook-server/metrics-certs/ca.crt" ServerCert = "/tmp/k8s-webhook-server/metrics-certs/tls.crt" ServerKey = "/tmp/k8s-webhook-server/metrics-certs/tls.key" )
Functions ¶
This section is empty.
Types ¶
type PodMutator ¶
func NewPodMutator ¶ added in v0.0.2
func NewPodMutator(kubeClient client.Client, strict bool) *PodMutator
NewPodMutator creates a new pod mutator
func (*PodMutator) InjectDecoder ¶
func (a *PodMutator) InjectDecoder(d *admission.Decoder) error
InjectDecoder sets decoder
Click to show internal directories.
Click to hide internal directories.