apiVersion: v1
items:
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: nginx
spec:
tags:
- annotations:
openshift.io/imported-from: tutum/nginx
from:
kind: DockerImage
name: tutum/nginx
generation: null
importPolicy: {}
name: from
status:
dockerImageRepository: ""
- apiVersion: v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: nginx
spec:
output:
to:
kind: ImageStreamTag
name: nginx:latest
postCommit: {}
resources: {}
source:
contextDir: test/testdata/app-scenarios/docker-compose/complex/nginx
git:
ref: libcompose
uri: git@github.com:openshift/origin.git
secrets: null
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: nginx:from
type: Docker
triggers:
- github:
secret: IE96Fw4CdQs-g3giIjWZ
type: GitHub
- generic:
secret: B8mx-lYjIBjNY6ymP6MT
type: Generic
- type: ConfigChange
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: web
spec:
tags:
- annotations:
openshift.io/imported-from: node:0.10.38
from:
kind: DockerImage
name: node:0.10.38
generation: null
importPolicy: {}
name: from
status:
dockerImageRepository: ""
- apiVersion: v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: web
spec:
output:
to:
kind: ImageStreamTag
name: web:latest
postCommit: {}
resources: {}
source:
contextDir: test/testdata/app-scenarios/docker-compose/complex/app
git:
ref: libcompose
uri: git@github.com:openshift/origin.git
secrets: null
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: web:from
type: Docker
triggers:
- github:
secret: xMiKAo9EEZMKMxCRZSUk
type: GitHub
- generic:
secret: doIIibCQIxRvv28uyP9J
type: Generic
- type: ConfigChange
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: db
spec:
tags:
- annotations:
openshift.io/imported-from: redis
from:
kind: DockerImage
name: redis
generation: null
importPolicy: {}
name: latest
status:
dockerImageRepository: ""
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: db
spec:
replicas: 1
selector:
deploymentconfig: db
strategy:
resources: {}
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
deploymentconfig: db
spec:
containers:
- image: redis
name: db
ports:
- containerPort: 6379
resources:
limits:
cpu: 100m
memory: 1G
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- db
from:
kind: ImageStreamTag
name: db:latest
type: ImageChange
status: {}
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: nginx
spec:
replicas: 1
selector:
deploymentconfig: nginx
strategy:
resources: {}
template:
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
deploymentconfig: nginx
spec:
containers:
- image: nginx
name: nginx
ports:
- containerPort: 80
resources: {}
volumeMounts:
- mountPath: /www/public
name: dir-1
- mountPath: /src/app
name: dir-2
- args:
- nodemon
- -L
- app/bin/www
image: web
name: web
ports:
- containerPort: 3000
resources:
requests:
cpu: 500m
volumeMounts:
- mountPath: /src/app
name: dir-2
volumes:
- emptyDir: {}
name: dir-1
- emptyDir: {}
name: dir-2
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- nginx
from:
kind: ImageStreamTag
name: nginx:latest
type: ImageChange
- imageChangeParams:
automatic: true
containerNames:
- web
from:
kind: ImageStreamTag
name: web:latest
type: ImageChange
status: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: redis
spec:
ports:
- name: 6379-tcp
port: 6379
targetPort: 6379
selector:
deploymentconfig: db
status:
loadBalancer: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: nginx
name: nginx
spec:
ports:
- name: 80-tcp
port: 80
targetPort: 80
- name: 3000-tcp
port: 3000
targetPort: 3000
selector:
deploymentconfig: nginx
status:
loadBalancer: {}
kind: List
metadata: {}