forked from LaconicNetwork/kompose
Merge branch 'main' into feature-1635-with-labels
This commit is contained in:
@@ -559,6 +559,7 @@ func dockerComposeToKomposeMapping(composeObject *types.Project) (kobject.Kompos
|
||||
serviceConfig.Dockerfile = composeServiceConfig.Build.Dockerfile
|
||||
serviceConfig.BuildArgs = composeServiceConfig.Build.Args
|
||||
serviceConfig.BuildLabels = composeServiceConfig.Build.Labels
|
||||
serviceConfig.BuildTarget = composeServiceConfig.Build.Target
|
||||
}
|
||||
|
||||
// env
|
||||
|
||||
@@ -88,6 +88,12 @@ const (
|
||||
LabelCronJobConcurrencyPolicy = "kompose.cronjob.concurrency_policy"
|
||||
// LabelCronJobBackoffLimit defines the job backoff limit
|
||||
LabelCronJobBackoffLimit = "kompose.cronjob.backoff_limit"
|
||||
// LabelInitContainerName defines name resource
|
||||
LabelInitContainerName = "kompose.init.containers.name"
|
||||
// LabelInitContainerImage defines image to pull
|
||||
LabelInitContainerImage = "kompose.init.containers.image"
|
||||
// LabelInitContainerCommand defines commands
|
||||
LabelInitContainerCommand = "kompose.init.containers.command"
|
||||
// LabelNameOverride defines the override resource name
|
||||
LabelNameOverride = "kompose.service.name_override"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user