forked from LaconicNetwork/kompose
* fix: make the out flag print to one file using seperator * fix: comment an unused function * fix: update test script * fix: update output k8s * fix: update the json output error condition * fix: update envvars interpolation tests * chore: update e2e tests to support yaml generation instead of JSON format * fix: update e2e tests according to ci environment * fix: apply PR changes
137 lines
2.4 KiB
YAML
137 lines
2.4 KiB
YAML
---
|
|
apiVersion: v1
|
|
kind: DeploymentConfig
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: bar
|
|
name: bar
|
|
spec:
|
|
replicas: 99
|
|
selector:
|
|
io.kompose.service: bar
|
|
strategy:
|
|
resources: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: bar
|
|
spec:
|
|
containers:
|
|
- image: ' '
|
|
name: bar
|
|
resources: {}
|
|
restartPolicy: Always
|
|
test: false
|
|
triggers:
|
|
- type: ConfigChange
|
|
- imageChangeParams:
|
|
automatic: true
|
|
containerNames:
|
|
- bar
|
|
from:
|
|
kind: ImageStreamTag
|
|
name: bar:latest
|
|
type: ImageChange
|
|
status:
|
|
availableReplicas: 0
|
|
latestVersion: 0
|
|
observedGeneration: 0
|
|
replicas: 0
|
|
unavailableReplicas: 0
|
|
updatedReplicas: 0
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ImageStream
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: bar
|
|
name: bar
|
|
spec:
|
|
lookupPolicy:
|
|
local: false
|
|
tags:
|
|
- annotations: null
|
|
from:
|
|
kind: DockerImage
|
|
name: bar
|
|
generation: null
|
|
importPolicy: {}
|
|
name: latest
|
|
referencePolicy:
|
|
type: ""
|
|
status:
|
|
dockerImageRepository: ""
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: DeploymentConfig
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: foo
|
|
name: foo
|
|
spec:
|
|
replicas: 3
|
|
selector:
|
|
io.kompose.service: foo
|
|
strategy:
|
|
resources: {}
|
|
template:
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: foo
|
|
spec:
|
|
containers:
|
|
- image: ' '
|
|
name: foo
|
|
resources: {}
|
|
restartPolicy: Always
|
|
test: false
|
|
triggers:
|
|
- type: ConfigChange
|
|
- imageChangeParams:
|
|
automatic: true
|
|
containerNames:
|
|
- foo
|
|
from:
|
|
kind: ImageStreamTag
|
|
name: foo:latest
|
|
type: ImageChange
|
|
status:
|
|
availableReplicas: 0
|
|
latestVersion: 0
|
|
observedGeneration: 0
|
|
replicas: 0
|
|
unavailableReplicas: 0
|
|
updatedReplicas: 0
|
|
|
|
---
|
|
apiVersion: v1
|
|
kind: ImageStream
|
|
metadata:
|
|
creationTimestamp: null
|
|
labels:
|
|
io.kompose.service: foo
|
|
name: foo
|
|
spec:
|
|
lookupPolicy:
|
|
local: false
|
|
tags:
|
|
- annotations: null
|
|
from:
|
|
kind: DockerImage
|
|
name: foo
|
|
generation: null
|
|
importPolicy: {}
|
|
name: latest
|
|
referencePolicy:
|
|
type: ""
|
|
status:
|
|
dockerImageRepository: ""
|
|
|