aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-12-22 16:35:57 +0800
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-12-22 16:43:31 +0800
commit8ae5f1de322c3403d8f55a980ef25806f2a1d4f0 (patch)
tree88668b403341f84c0c5a8e5b509d3a70b42b388f
parent980946d5e97974ebf5dc8eeaf10ed98f789fbe77 (diff)
Support https service registrationamsterdam
Issue-ID: OOM-539 Change-Id: Ifbb95750bd448c375bddf2433ac6ad0b5d642027 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r--src/kube2msb/msb_client.go1
-rw-r--r--src/kube2msb/types.go1
2 files changed, 2 insertions, 0 deletions
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"`
}