From 8ae5f1de322c3403d8f55a980ef25806f2a1d4f0 Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Fri, 22 Dec 2017 16:35:57 +0800 Subject: Support https service registration Issue-ID: OOM-539 Change-Id: Ifbb95750bd448c375bddf2433ac6ad0b5d642027 Signed-off-by: HuabingZhao --- src/kube2msb/msb_client.go | 1 + src/kube2msb/types.go | 1 + 2 files changed, 2 insertions(+) diff --git a/src/kube2msb/msb_client.go b/src/kube2msb/msb_client.go index 74e2319..9e16d00 100644 --- a/src/kube2msb/msb_client.go +++ b/src/kube2msb/msb_client.go @@ -125,6 +125,7 @@ func ServiceAnnotation2ServiceUnit(sa *ServiceAnnotation) *ServiceUnit { LBPolicy: sa.LBPolicy, VisualRange: sa.VisualRange, Path: sa.Path, + EnableSSL: sa.EnableSSL, Instances: []InstanceUnit{{ServiceIP: sa.IP, ServicePort: sa.Port}}, } } diff --git a/src/kube2msb/types.go b/src/kube2msb/types.go index d496b1c..1b73a1a 100644 --- a/src/kube2msb/types.go +++ b/src/kube2msb/types.go @@ -134,4 +134,5 @@ type ServiceAnnotation struct { LBPolicy string `json:"lb_policy,omitempty"` VisualRange string `json:"visualRange,omitempty"` Path string `json:"path,omitempty"` + EnableSSL bool `json:"enable_ssl"` } -- cgit 1.2.3-korg