Fix loading env file (#1679)

* fix: update loading 'env_file' of docker_compose

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

* test: add functional tests for loading env_file

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>

---------

Signed-off-by: AhmedGrati <ahmedgrati1999@gmail.com>
This commit is contained in:
AhmedGrati
2023-07-26 14:03:15 -04:00
committed by GitHub
parent 2c3f2939d4
commit 1f1fc20204
44 changed files with 527 additions and 612 deletions
+2
View File
@@ -6,6 +6,7 @@ metadata:
labels:
io.kompose.service: bar
name: bar
namespace: default
spec:
replicas: 99
selector:
@@ -34,6 +35,7 @@ metadata:
labels:
io.kompose.service: foo
name: foo
namespace: default
spec:
replicas: 3
selector:
+4
View File
@@ -6,6 +6,7 @@ metadata:
labels:
io.kompose.service: bar
name: bar
namespace: default
spec:
replicas: 99
selector:
@@ -51,6 +52,7 @@ metadata:
labels:
io.kompose.service: bar
name: bar
namespace: default
spec:
lookupPolicy:
local: false
@@ -75,6 +77,7 @@ metadata:
labels:
io.kompose.service: foo
name: foo
namespace: default
spec:
replicas: 3
selector:
@@ -120,6 +123,7 @@ metadata:
labels:
io.kompose.service: foo
name: foo
namespace: default
spec:
lookupPolicy:
local: false