Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitFromFlags ¶
InitFromFlags initializes the config from the provided CLI flag set.
Types ¶
type Config ¶
type Config struct { // Enabled indicates whether the Etcd Components Webhook is enabled. Enabled bool // ReconcilerServiceAccount is the name of the service account used by etcd-druid for reconciling etcd resources. ReconcilerServiceAccount string // ExemptServiceAccounts is a list of service accounts that are exempt from Etcd Components Webhook checks. ExemptServiceAccounts []string }
Config defines the configuration for the EtcdComponents Webhook.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is the Etcd Components protection Webhook admission handler. All resources that are provisioned by druid as part of etcd cluster provisioning are protected from unintended modification or deletion by this admission handler.
func NewHandler ¶
NewHandler creates a new handler for Etcd Components Webhook.
Click to show internal directories.
Click to hide internal directories.