Skip to content

Commit

Permalink
🐛 fix flag in testenv
Browse files Browse the repository at this point in the history
  • Loading branch information
Mengqi Yu committed Dec 19, 2018
1 parent 786b881 commit f70e2dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/envtest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var DefaultKubeAPIServerFlags = []string{
"--cert-dir={{ .CertDir }}",
"--insecure-port={{ if .URL }}{{ .URL.Port }}{{ end }}",
"--insecure-bind-address={{ if .URL }}{{ .URL.Hostname }}{{ end }}",
"--secure-port=0",
"--secure-port={{ if .SecurePort }}{{ .SecurePort }}{{ end }}",
"--admission-control=AlwaysAdmit",
}

Expand Down

0 comments on commit f70e2dc

Please sign in to comment.