forked from LaconicNetwork/kompose
* 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>
38 lines
759 B
YAML
38 lines
759 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: myservice
|
|
name: myservice
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: myservice
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.network/envvars-interpolation-default: "true"
|
|
io.kompose.service: myservice
|
|
spec:
|
|
containers:
|
|
- args:
|
|
- curl
|
|
- :///
|
|
env:
|
|
- name: DOMAIN
|
|
value: google.com
|
|
- name: PROTOCOL
|
|
value: https
|
|
image: alpine
|
|
name: myservice
|
|
resources: {}
|
|
restartPolicy: Always
|
|
status: {}
|
|
|