hooks

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Containers []corev1.Container `yaml:"containers"`
}

type OAuthInjector

type OAuthInjector struct {
	Name   string
	Client client.Client
	Log    logr.Logger

	ConfigMapName      string
	ConfigMapNamespace string
	// contains filtered or unexported fields
}

func (*OAuthInjector) Handle

OidcInjector adds an OAuth2-Proxy sidecar to every incoming pods.

func (*OAuthInjector) InjectDecoder

func (oi *OAuthInjector) InjectDecoder(d *admission.Decoder) error

OidcInjector implements admission.DecoderInjector. A decoder will be automatically inj1ected. InjectDecoder injects the decoder.

Jump to

Keyboard shortcuts

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