kompose/script/test/fixtures/volume-mounts/windows/output-os.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

119 lines
2.1 KiB
YAML

---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
io.kompose.service: db
name: db
namespace: default
spec:
ports:
- name: "80"
port: 80
targetPort: 80
selector:
io.kompose.service: db
status:
loadBalancer: {}
---
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
creationTimestamp: null
labels:
io.kompose.service: db
name: db
namespace: default
spec:
replicas: 1
selector:
io.kompose.service: db
strategy:
resources: {}
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
io.kompose.network/windows-default: "true"
io.kompose.service: db
spec:
containers:
- image: ' '
name: db
ports:
- containerPort: 80
protocol: TCP
resources: {}
volumeMounts:
- mountPath: D:\config
name: db-claim0
restartPolicy: Always
volumes:
- name: db-claim0
persistentVolumeClaim:
claimName: db-claim0
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- db
from:
kind: ImageStreamTag
name: db:latest
type: ImageChange
status:
availableReplicas: 0
latestVersion: 0
observedGeneration: 0
replicas: 0
unavailableReplicas: 0
updatedReplicas: 0
---
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
creationTimestamp: null
labels:
io.kompose.service: db
name: db
namespace: default
spec:
lookupPolicy:
local: false
tags:
- annotations: null
from:
kind: DockerImage
name: nginx:latest
generation: null
importPolicy: {}
name: latest
referencePolicy:
type: ""
status:
dockerImageRepository: ""
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
creationTimestamp: null
labels:
io.kompose.service: db-claim0
name: db-claim0
namespace: default
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Mi
status: {}