diff --git a/cmd/create/create_loadbalancer.go b/cmd/create/create_loadbalancer.go index 6cccc5c..5a95423 100644 --- a/cmd/create/create_loadbalancer.go +++ b/cmd/create/create_loadbalancer.go @@ -122,6 +122,10 @@ func SecStringToNum(sec string) int { ret = 1 case "tls": ret = 1 + case "e2ehttps": + ret = 2 + case "e2etls": + ret = 2 default: ret = 0 } @@ -132,7 +136,7 @@ func NewCreateLoadBalancerCmd(restOptions *api.RESTOptions) *cobra.Command { o := CreateLoadBalancerOptions{} var createLbCmd = &cobra.Command{ - Use: "lb IP [--select=] [--tcp=:] [--udp=:] [--sctp=:] [--icmp] [--mark=] [--secips=,][--endpoints=:,] [--mode=] [--bgp] [--monitor] [--inatimeout=] [--name=] [--attachEP] [--detachEP] [--security=] [--host=]", + Use: "lb IP [--select=] [--tcp=:] [--udp=:] [--sctp=:] [--icmp] [--mark=] [--secips=,][--endpoints=:,] [--mode=] [--bgp] [--monitor] [--inatimeout=] [--name=] [--attachEP] [--detachEP] [--security=] [--host=]", Short: "Create a LoadBalancer", Long: `Create a LoadBalancer diff --git a/cmd/get/get_loadbalancer.go b/cmd/get/get_loadbalancer.go index 173e4a9..a59381a 100644 --- a/cmd/get/get_loadbalancer.go +++ b/cmd/get/get_loadbalancer.go @@ -91,6 +91,8 @@ func NumToSecurty(sec int) string { ret = "" case 1: ret = "https" + case 2: + ret = "e2ehttps" default: ret = "" }