@@ -234,7 +230,6 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
...
@@ -234,7 +230,6 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
fs.StringVar(&s.AdmissionControl,"admission-control",s.AdmissionControl,"Ordered list of plug-ins to do admission control of resources into cluster. Comma-delimited list of: "+strings.Join(admission.GetPlugins(),", "))
fs.StringVar(&s.AdmissionControl,"admission-control",s.AdmissionControl,"Ordered list of plug-ins to do admission control of resources into cluster. Comma-delimited list of: "+strings.Join(admission.GetPlugins(),", "))
fs.StringVar(&s.AdmissionControlConfigFile,"admission-control-config-file",s.AdmissionControlConfigFile,"File with admission control configuration.")
fs.StringVar(&s.AdmissionControlConfigFile,"admission-control-config-file",s.AdmissionControlConfigFile,"File with admission control configuration.")
fs.StringSliceVar(&s.EtcdServerList,"etcd-servers",s.EtcdServerList,"List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config")
fs.StringSliceVar(&s.EtcdServerList,"etcd-servers",s.EtcdServerList,"List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config")
fs.StringVar(&s.EtcdConfigFile,"etcd-config",s.EtcdConfigFile,"The config file for the etcd client. Mutually exclusive with -etcd-servers.")
fs.StringSliceVar(&s.EtcdServersOverrides,"etcd-servers-overrides",s.EtcdServersOverrides,"Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.")
fs.StringSliceVar(&s.EtcdServersOverrides,"etcd-servers-overrides",s.EtcdServersOverrides,"Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.")
fs.StringVar(&s.EtcdPathPrefix,"etcd-prefix",s.EtcdPathPrefix,"The prefix for all resource paths in etcd.")
fs.StringVar(&s.EtcdPathPrefix,"etcd-prefix",s.EtcdPathPrefix,"The prefix for all resource paths in etcd.")
fs.StringSliceVar(&s.CorsAllowedOriginList,"cors-allowed-origins",s.CorsAllowedOriginList,"List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
fs.StringSliceVar(&s.CorsAllowedOriginList,"cors-allowed-origins",s.CorsAllowedOriginList,"List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.")
...
@@ -283,36 +278,21 @@ func (s *APIServer) verifyClusterIPFlags() {
...
@@ -283,36 +278,21 @@ func (s *APIServer) verifyClusterIPFlags() {
--cloud-provider="": The provider for cloud services. Empty string for no provider.
--cloud-provider="": The provider for cloud services. Empty string for no provider.
--cluster-name="kubernetes": The instance prefix for the cluster
--cluster-name="kubernetes": The instance prefix for the cluster
--cors-allowed-origins=[]: List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.
--cors-allowed-origins=[]: List of allowed origins for CORS, comma separated. An allowed origin can be a regular expression to support subdomain matching. If this list is empty CORS will not be enabled.
--etcd-config="": The config file for the etcd client. Mutually exclusive with -etcd-servers.
--etcd-prefix="/registry": The prefix for all resource paths in etcd.
--etcd-prefix="/registry": The prefix for all resource paths in etcd.
--etcd-servers=[]: List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config
--etcd-servers=[]: List of etcd servers to watch (http://ip:port), comma separated. Mutually exclusive with -etcd-config
--etcd-servers-overrides=[]: Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.
--etcd-servers-overrides=[]: Per-resource etcd servers overrides, comma separated. The individual override format: group/resource#servers, where servers are http://ip:port, semicolon separated.
...
@@ -107,7 +106,7 @@ kube-apiserver
...
@@ -107,7 +106,7 @@ kube-apiserver
--watch-cache[=true]: Enable watch caching in the apiserver
--watch-cache[=true]: Enable watch caching in the apiserver
```
```
###### Auto generated by spf13/cobra on 3-Dec-2015
###### Auto generated by spf13/cobra on 9-Dec-2015