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 -1
View File
@@ -6,6 +6,7 @@ metadata:
labels:
io.kompose.service: myservice
name: myservice
namespace: default
spec:
replicas: 1
selector:
@@ -22,7 +23,7 @@ spec:
containers:
- args:
- curl
- $(PROTOCOL)://$(DOMAIN)/
- :///
env:
- name: DOMAIN
value: google.com
+3 -1
View File
@@ -6,6 +6,7 @@ metadata:
labels:
io.kompose.service: myservice
name: myservice
namespace: default
spec:
replicas: 1
selector:
@@ -22,7 +23,7 @@ spec:
containers:
- args:
- curl
- $(PROTOCOL)://$(DOMAIN)/
- :///
env:
- name: DOMAIN
value: google.com
@@ -59,6 +60,7 @@ metadata:
labels:
io.kompose.service: myservice
name: myservice
namespace: default
spec:
lookupPolicy:
local: false