You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cmd/cli/cmd/create/route.go
+18
Original file line number
Diff line number
Diff line change
@@ -85,6 +85,7 @@ func NewCmdCreateEdgeRoute(fullName string, f *clientcmd.Factory, out io.Writer)
85
85
cmd.MarkFlagFilename("key")
86
86
cmd.Flags().String("ca-cert", "", "Path to a CA certificate file.")
87
87
cmd.MarkFlagFilename("ca-cert")
88
+
cmd.Flags().String("wildcardpolicy", "", "Sets the WilcardPolicy for the hostname, the default is \"None\". valid values are \"None\" and \"Subdomain\"")
88
89
89
90
returncmd
90
91
}
@@ -112,6 +113,11 @@ func CreateEdgeRoute(f *clientcmd.Factory, out io.Writer, cmd *cobra.Command, ar
@@ -200,6 +206,7 @@ func NewCmdCreatePassthroughRoute(fullName string, f *clientcmd.Factory, out io.
200
206
cmd.Flags().String("port", "", "Name of the service port or number of the container port the route will route traffic to")
201
207
cmd.Flags().String("service", "", "Name of the service that the new route is exposing")
202
208
cmd.MarkFlagRequired("service")
209
+
cmd.Flags().String("wildcardpolicy", "", "Sets the WilcardPolicy for the hostname, the default is \"None\". valid values are \"None\" and \"Subdomain\"")
@@ -305,6 +317,7 @@ func NewCmdCreateReencryptRoute(fullName string, f *clientcmd.Factory, out io.Wr
305
317
cmd.Flags().String("dest-ca-cert", "", "Path to a CA certificate file, used for securing the connection from the router to the destination.")
306
318
cmd.MarkFlagRequired("dest-ca-cert")
307
319
cmd.MarkFlagFilename("dest-ca-cert")
320
+
cmd.Flags().String("wildcardpolicy", "", "Sets the WildcardPolicy for the hostname, the default is \"None\". valid values are \"None\" and \"Subdomain\"")
0 commit comments