type Config struct {
AuthorizationModes []string// Path to an ABAC policy file. PolicyFile string// Kubeconfig file for Webhook authorization plugin. WebhookConfigFile string// API version of subject access reviews to send to the webhook (e.g. "v1", "v1beta1") WebhookVersion string// TTL for caching of authorized responses from the webhook server. WebhookCacheAuthorizedTTL time.Duration// TTL for caching of unauthorized responses from the webhook server. WebhookCacheUnauthorizedTTL time.Duration VersionedInformerFactory versionedinformers.SharedInformerFactory}
Config contains the data on how to authorize a request to the Kube API Server