Add label 'kompose.controller.type' set service convert controller type

This commit is contained in:
xianlubird committed 2018-05-12 11:52:23 +08:00
1 parent b0debf7f03
commit a4efdd6cca
9 files changed
+786 -3

No files matched your search

+2
View File
@@ -33,6 +33,8 @@ const (
LabelServiceExpose = "kompose.service.expose"
// LabelServiceExposeTLSSecret provides the name of the TLS secret to use with the Kubernetes ingress controller
LabelServiceExposeTLSSecret = "kompose.service.expose.tls-secret"
// LabelControllerType defines the type of controller to be created
LabelControllerType = "kompose.controller.type"
// ServiceTypeHeadless ...
ServiceTypeHeadless = "Headless"