Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdmitAuditPolicy ¶
AdmitAuditPolicy validates the provided audit policy.
Types ¶
type Handler ¶
type Handler struct {
APIReader client.Reader
Client client.Reader
Decoder admission.Decoder
ConfigMapPurpose string
ConfigMapDataKey string
GetConfigMapNameFromShoot func(shoot *gardencore.Shoot) string
SkipValidationOnShootUpdate func(shoot, oldShoot *gardencore.Shoot) bool
AdmitConfig func(configRaw string, shootsReferencingConfigMap []*gardencore.Shoot) (int32, error)
GetNamespace func() string
GetConfigMapNamesFromGarden func(garden *operatorv1alpha1.Garden) []string
AdmitGardenConfig func(configRaw string) (int32, error)
}
Handler validates configuration part of ConfigMaps which are referenced in Shoot or Garden resources.
Click to show internal directories.
Click to hide internal directories.