Commit fddbff25 authored by Dr. Stefan Schimanski's avatar Dr. Stefan Schimanski

kube-apiserver: fix runtime-config flag docs

parent c933067c
...@@ -38,7 +38,8 @@ func NewAPIEnablementOptions() *APIEnablementOptions { ...@@ -38,7 +38,8 @@ func NewAPIEnablementOptions() *APIEnablementOptions {
func (s *APIEnablementOptions) AddFlags(fs *pflag.FlagSet) { func (s *APIEnablementOptions) AddFlags(fs *pflag.FlagSet) {
fs.Var(&s.RuntimeConfig, "runtime-config", ""+ fs.Var(&s.RuntimeConfig, "runtime-config", ""+
"A set of key=value pairs that describe runtime configuration that may be passed "+ "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. "+ "to apiserver. <group>/<version> (or <version> for the core group) key can be used to "+
"apis/<groupVersion>/<resource> can be used to turn on/off specific resources. api/all and "+ "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.") "api/legacy are special keys to control all and legacy api versions respectively.")
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment