mirror of https://github.com/k3s-io/k3s
kube-apiserver: fix runtime-config flag docs
parent
c933067cd3
commit
fddbff25f6
|
@ -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.")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue