mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 07:57:35 +00:00
Extract etcd options from genericapiserver.
This commit is contained in:
@@ -28,7 +28,8 @@ func main() {
|
||||
serverRunOptions := apiserver.NewServerRunOptions()
|
||||
|
||||
// Parse command line flags.
|
||||
serverRunOptions.AddFlags(pflag.CommandLine)
|
||||
serverRunOptions.AddUniversalFlags(pflag.CommandLine)
|
||||
serverRunOptions.AddEtcdStorageFlags(pflag.CommandLine)
|
||||
flag.InitFlags()
|
||||
|
||||
if err := apiserver.Run(serverRunOptions); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user