apiVersion: v1 items: - apiVersion: v1 kind: ImageStream metadata: creationTimestamp: null 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: creationTimestamp: null name: nginx spec: nodeSelector: null output: to: kind: ImageStreamTag name: nginx:latest postCommit: {} resources: {} source: contextDir: test/testdata/app-scenarios/docker-compose/complex/nginx git: ref: master uri: git@github.com:openshift/origin.git secrets: null type: Git strategy: dockerStrategy: from: kind: ImageStreamTag name: nginx:from type: Docker triggers: - github: secret: FdDzZzJCBkHQGxYMMBw0 type: GitHub - generic: secret: wMAV07N8TWt9dz40LDjL type: Generic - type: ConfigChange - imageChange: {} type: ImageChange status: lastVersion: 0 - apiVersion: v1 kind: ImageStream metadata: creationTimestamp: null 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: creationTimestamp: null name: web spec: nodeSelector: null output: to: kind: ImageStreamTag name: web:latest postCommit: {} resources: {} source: contextDir: test/testdata/app-scenarios/docker-compose/complex/app git: ref: master uri: git@github.com:openshift/origin.git secrets: null type: Git strategy: dockerStrategy: from: kind: ImageStreamTag name: web:from type: Docker triggers: - github: secret: 3QSLvrej6A2E-CMYSEvQ type: GitHub - generic: secret: uBl0LIK0anHOaRJ8-4dI type: Generic - type: ConfigChange - imageChange: {} type: ImageChange status: lastVersion: 0 - apiVersion: v1 kind: ImageStream metadata: creationTimestamp: null 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: creationTimestamp: null name: db spec: replicas: 1 selector: deploymentconfig: db strategy: resources: {} template: metadata: creationTimestamp: null labels: 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: creationTimestamp: null name: nginx spec: replicas: 1 selector: deploymentconfig: nginx strategy: resources: {} template: metadata: creationTimestamp: null labels: 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: ImageStream metadata: creationTimestamp: null name: no-ports 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: creationTimestamp: null name: no-ports spec: replicas: 1 selector: deploymentconfig: no-ports strategy: resources: {} template: metadata: creationTimestamp: null labels: deploymentconfig: no-ports spec: containers: - image: redis name: no-ports resources: {} test: false triggers: - type: ConfigChange - imageChangeParams: automatic: true containerNames: - no-ports from: kind: ImageStreamTag name: no-ports:latest type: ImageChange status: {} - apiVersion: v1 kind: Service metadata: creationTimestamp: null name: redis spec: ports: - name: 6379-tcp port: 6379 targetPort: 6379 selector: deploymentconfig: db status: loadBalancer: {} - apiVersion: v1 kind: Service metadata: creationTimestamp: null 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: {}