configmap

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultTruststoreName default name of the generated truststore
	DefaultTruststoreName = "cacerts"

	// LabelEnabled k8s label to enable java truststore injection
	LabelEnabled = "jti.bakito.ch/inject-truststore"
	// LabelTruststoreName k8s label to define a custom truststore name
	LabelTruststoreName = "jti.bakito.ch/truststore-name"

	// AnnotationLastTruststoreName k8s annotation to keep track of the last truststore name
	AnnotationLastTruststoreName = "jti.bakito.ch/last-injected-truststore-name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	admission.CustomDefaulter
}

Webhook implementation

func (*Webhook) Default added in v0.0.8

func (w *Webhook) Default(ctx context.Context, obj runtime.Object) error

Default mutate the configmap

func (*Webhook) SetupWebhookWithManager

func (w *Webhook) SetupWebhookWithManager(mgr manager.Manager) error

SetupWebhookWithManager setup this webhook

Jump to

Keyboard shortcuts

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