Plumb authorization webhook version from CLI to config

This commit is contained in:
Jordan Liggitt 2019-11-18 23:53:03 -08:00
parent 81af5baff8
commit dc0e51dd18

View File

@ -118,6 +118,7 @@ func (s *BuiltInAuthorizationOptions) ToAuthorizationConfig(versionedInformerFac
AuthorizationModes: s.Modes,
PolicyFile: s.PolicyFile,
WebhookConfigFile: s.WebhookConfigFile,
WebhookVersion: s.WebhookVersion,
WebhookCacheAuthorizedTTL: s.WebhookCacheAuthorizedTTL,
WebhookCacheUnauthorizedTTL: s.WebhookCacheUnauthorizedTTL,
VersionedInformerFactory: versionedInformerFactory,