@@ -139,6 +140,7 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -139,6 +140,7 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.CloudProvider,"cloud_provider",s.CloudProvider,"The provider for cloud services. Empty string for no provider.")
fs.StringVar(&s.CloudProvider,"cloud_provider",s.CloudProvider,"The provider for cloud services. Empty string for no provider.")
fs.StringVar(&s.CloudConfigFile,"cloud_config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.StringVar(&s.CloudConfigFile,"cloud_config",s.CloudConfigFile,"The path to the cloud provider configuration file. Empty string for no configuration file.")
fs.DurationVar(&s.EventTTL,"event_ttl",s.EventTTL,"Amount of time to retain events. Default 1 hour.")
fs.DurationVar(&s.EventTTL,"event_ttl",s.EventTTL,"Amount of time to retain events. Default 1 hour.")
fs.StringVar(&s.ClientCAFile,"client_ca_file",s.ClientCAFile,"If set, any request presenting a client certificate signed by one of the authorities in the client_ca_file is authenticated with an identity corresponding to the CommonName of the client certificate.")
fs.StringVar(&s.TokenAuthFile,"token_auth_file",s.TokenAuthFile,"If set, the file that will be used to secure the secure port of the API server via token authentication.")
fs.StringVar(&s.TokenAuthFile,"token_auth_file",s.TokenAuthFile,"If set, the file that will be used to secure the secure port of the API server via token authentication.")
fs.StringVar(&s.AuthorizationMode,"authorization_mode",s.AuthorizationMode,"Selects how to do authorization on the secure port. One of: "+strings.Join(apiserver.AuthorizationModeChoices,","))
fs.StringVar(&s.AuthorizationMode,"authorization_mode",s.AuthorizationMode,"Selects how to do authorization on the secure port. One of: "+strings.Join(apiserver.AuthorizationModeChoices,","))
fs.StringVar(&s.AuthorizationPolicyFile,"authorization_policy_file",s.AuthorizationPolicyFile,"File with authorization policy in csv format, used with --authorization_mode=ABAC, on the secure port.")
fs.StringVar(&s.AuthorizationPolicyFile,"authorization_policy_file",s.AuthorizationPolicyFile,"File with authorization policy in csv format, used with --authorization_mode=ABAC, on the secure port.")