fix: remove lower case of the host generation

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
AhmedGrati 2023-07-14 12:47:47 +01:00
parent 21509824ff
commit 36028cb89a

View File

@ -708,7 +708,7 @@ func parseKomposeLabels(labels map[string]string, serviceConfig *kobject.Service
case LabelSecurityContextFsGroup:
serviceConfig.FsGroup = cast.ToInt64(value)
case LabelServiceExpose:
serviceConfig.ExposeService = strings.Trim(strings.ToLower(value), " ,")
serviceConfig.ExposeService = strings.Trim(value, " ,")
case LabelNodePortPort:
serviceConfig.NodePortPort = cast.ToInt32(value)
case LabelServiceExposeTLSSecret: