Documentation
¶
Index ¶
Constants ¶
View Source
const (
AnnotationKeyPrefix = "secret-generator.cs.sap.com/prefix"
DefaultPrefix = "%generate"
Symbols = `-~!@#$%^&*()_+={}|:<>?,./` // caveat: important to have - at first place (to work in regexp character sets)
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecretWebhook ¶
type SecretWebhook struct{}
func NewSecretWebhook ¶
func NewSecretWebhook() *SecretWebhook
func (*SecretWebhook) MutateCreate ¶
func (w *SecretWebhook) MutateCreate(ctx context.Context, secret *corev1.Secret) error
func (*SecretWebhook) MutateUpdate ¶
func (w *SecretWebhook) MutateUpdate(ctx context.Context, oldSecret *corev1.Secret, newSecret *corev1.Secret) error
Click to show internal directories.
Click to hide internal directories.