apiVersion: v1
items:
- apiVersion: v1
kind: BuildConfig
metadata:
creationTimestamp: null
labels:
app: ruby
name: ruby-hello-world
spec:
output:
to:
kind: ImageStreamTag
name: ruby-hello-world:latest
resources: {}
source:
git:
uri: https://github.com/openshift/ruby-hello-world
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: ruby-22-centos7:latest
type: Docker
triggers:
- github:
secret: LyddbeCAaw1a0x08xz9n
type: GitHub
- generic:
secret: ZnYJJeEvo1ri0Gk0f6YY
type: Generic
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: Build
metadata:
creationTimestamp: null
labels:
app: ruby
buildconfig: ruby-hello-world
name: ruby-hello-world-1
spec:
output:
to:
kind: ImageStreamTag
name: ruby-hello-world:latest
resources: {}
serviceAccount: builder
source:
git:
uri: https://github.com/openshift/ruby-hello-world
type: Git
strategy:
dockerStrategy:
from:
kind: DockerImage
name: centos/ruby-22-centos7:latest
type: Docker
status:
config:
name: ruby-hello-world
phase: New
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/image.dockerRepositoryCheck: 2015-07-06T19:05:12Z
creationTimestamp: null
labels:
app: ruby
name: ruby-22-centos7
spec:
dockerImageRepository: centos/ruby-22-centos7
status:
dockerImageRepository: centos/ruby-22-centos7
- apiVersion: v1
kind: ImageStream
metadata:
creationTimestamp: null
labels:
app: ruby
name: ruby-hello-world
spec: {}
status:
dockerImageRepository: 172.30.222.57:5000/foo/ruby-hello-world
- apiVersion: v1
kind: DeploymentConfig
metadata:
creationTimestamp: null
labels:
app: ruby
name: ruby-hello-world
spec:
replicas: 1
selector:
deploymentconfig: ruby-hello-world
strategy:
resources: {}
rollingParams:
intervalSeconds: 1
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
creationTimestamp: null
labels:
deploymentconfig: ruby-hello-world
spec:
containers:
- image: library/ruby-hello-world:latest
imagePullPolicy: Always
name: ruby-hello-world
ports:
- containerPort: 8080
name: tcp-8080
protocol: TCP
resources: {}
securityContext:
capabilities: {}
privileged: false
terminationMessagePath: /dev/termination-log
dnsPolicy: ClusterFirst
restartPolicy: Always
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- ruby-hello-world
from:
kind: ImageStreamTag
name: ruby-hello-world:latest
type: ImageChange
status: {}
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: ruby
name: ruby-hello-world
spec:
ports:
- name: tcp-8080
nodePort: 0
port: 8080
protocol: TCP
targetPort: 8080
selector:
deploymentconfig: ruby-hello-world
sessionAffinity: None
type: ClusterIP
status:
loadBalancer: {}
kind: List
metadata: {}