We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dca10e9 + 78a0aeb commit 1633b76Copy full SHA for 1633b76
kube-router.go
@@ -4,6 +4,8 @@ import (
4
"fmt"
5
"os"
6
7
+ "flag"
8
+
9
"github.com/cloudnativelabs/kube-router/app"
10
"github.com/cloudnativelabs/kube-router/app/options"
11
"github.com/spf13/pflag"
@@ -15,6 +17,10 @@ func main() {
15
17
config.AddFlags(pflag.CommandLine)
16
18
pflag.Parse()
19
20
+ // Workaround for this issue:
21
+ // https://github.com/kubernetes/kubernetes/issues/17162
22
+ flag.CommandLine.Parse([]string{})
23
24
pflag.Set("logtostderr", "true")
25
26
if config.HelpRequested {
0 commit comments