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
@@ -6,6 +6,7 @@ metadata:
labels:
io.kompose.service: db
name: db
namespace: default
spec:
ports:
- name: "80"
@@ -24,6 +25,7 @@ metadata:
labels:
io.kompose.service: db
name: db
namespace: default
spec:
replicas: 1
selector:
@@ -63,6 +65,7 @@ metadata:
labels:
io.kompose.service: db-claim0
name: db-claim0
namespace: default
spec:
accessModes:
- ReadWriteOnce
@@ -6,6 +6,7 @@ metadata:
labels:
io.kompose.service: db
name: db
namespace: default
spec:
ports:
- name: "80"
@@ -24,6 +25,7 @@ metadata:
labels:
io.kompose.service: db
name: db
namespace: default
spec:
replicas: 1
selector:
@@ -80,6 +82,7 @@ metadata:
labels:
io.kompose.service: db
name: db
namespace: default
spec:
lookupPolicy:
local: false
@@ -104,6 +107,7 @@ metadata:
labels:
io.kompose.service: db-claim0
name: db-claim0
namespace: default
spec:
accessModes:
- ReadWriteOnce