kompose/script/test/fixtures/envvars-interpolation/output-k8s.yaml
AhmedGrati 1f1fc20204
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>
2023-07-26 14:03:15 -04:00

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: {}