mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Add default=false to usage of kube-apiserver allow-privileged flag
This commit is contained in:
parent
a481a5bca9
commit
a1b568ccb8
@ -138,7 +138,7 @@ func (s *ServerRunOptions) AddFlags(fs *pflag.FlagSet) {
|
|||||||
"Amount of time to retain events.")
|
"Amount of time to retain events.")
|
||||||
|
|
||||||
fs.BoolVar(&s.AllowPrivileged, "allow-privileged", s.AllowPrivileged,
|
fs.BoolVar(&s.AllowPrivileged, "allow-privileged", s.AllowPrivileged,
|
||||||
"If true, allow privileged containers.")
|
"If true, allow privileged containers. [default=false]")
|
||||||
|
|
||||||
fs.StringVar(&s.SSHUser, "ssh-user", s.SSHUser,
|
fs.StringVar(&s.SSHUser, "ssh-user", s.SSHUser,
|
||||||
"If non-empty, use secure SSH proxy to the nodes, using this user name")
|
"If non-empty, use secure SSH proxy to the nodes, using this user name")
|
||||||
|
Loading…
Reference in New Issue
Block a user