forked from LaconicNetwork/kompose
feat: support container volume mount subpath (#1628)
* feat: support volumes subpath Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com> * docs: add the kompose.volume.sub-path label Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com> * fix: update e2e tests Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com> --------- Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
@@ -142,6 +142,7 @@ type ServiceConfig struct {
|
||||
MemLimit types.UnitBytes `compose:"mem_limit"`
|
||||
MemReservation types.UnitBytes `compose:""`
|
||||
DeployMode string `compose:""`
|
||||
VolumeMountSubPath string `compose:"kompose.volume.subpath"`
|
||||
// DeployLabels mapping to kubernetes labels
|
||||
DeployLabels map[string]string `compose:""`
|
||||
DeployUpdateConfig types.UpdateConfig `compose:""`
|
||||
|
||||
Reference in New Issue
Block a user