aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"`
}