kube-apiserver: fix runtime-config flag docs

pull/6/head
Dr. Stefan Schimanski 2017-12-01 12:25:50 +01:00
parent c933067cd3
commit fddbff25f6
1 changed files with 3 additions and 2 deletions

View File

@ -38,7 +38,8 @@ func NewAPIEnablementOptions() *APIEnablementOptions {
func (s *APIEnablementOptions) AddFlags(fs *pflag.FlagSet) {
fs.Var(&s.RuntimeConfig, "runtime-config", ""+
"A set of key=value pairs that describe runtime configuration that may be passed "+
"to apiserver. apis/<groupVersion> key can be used to turn on/off specific api versions. "+
"apis/<groupVersion>/<resource> can be used to turn on/off specific resources. api/all and "+
"to apiserver. <group>/<version> (or <version> for the core group) key can be used to "+
"turn on/off specific api versions. <grouop>/<version>/<resource> (or <version>/<resource> "+
"for the core group) can be used to turn on/off specific resources. api/all and "+
"api/legacy are special keys to control all and legacy api versions respectively.")
}