forked from LaconicNetwork/kompose
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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user