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>
53 lines
930 B
YAML
53 lines
930 B
YAML
---
|
|
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: web
|
|
name: web
|
|
namespace: default
|
|
spec:
|
|
ports:
|
|
- name: "80"
|
|
port: 80
|
|
targetPort: 80
|
|
selector:
|
|
io.kompose.service: web
|
|
status:
|
|
loadBalancer: {}
|
|
|
|
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: web
|
|
name: web
|
|
namespace: default
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
io.kompose.service: web
|
|
strategy: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.network/compose-file-support-default: "true"
|
|
io.kompose.service: web
|
|
spec:
|
|
containers:
|
|
- image: nginx:latest
|
|
name: web
|
|
ports:
|
|
- containerPort: 80
|
|
hostPort: 80
|
|
protocol: TCP
|
|
resources: {}
|
|
restartPolicy: Always
|
|
status: {}
|
|
|