Skip to content

Instantly share code, notes, and snippets.

@fridim

fridim/2.yaml Secret

Created September 28, 2016 10:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fridim/f11357de190ec969cdb7eb41d95341b0 to your computer and use it in GitHub Desktop.
Save fridim/f11357de190ec969cdb7eb41d95341b0 to your computer and use it in GitHub Desktop.
apiVersion: v1
items:
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
name: ruby-22-centos7
spec:
tags:
- annotations:
openshift.io/imported-from: centos/ruby-22-centos7
from:
kind: DockerImage
name: centos/ruby-22-centos7
generation: null
importPolicy: {}
name: latest
status:
dockerImageRepository: ""
- apiVersion: v1
kind: ImageStream
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
name: ruby-ex
spec: {}
status:
dockerImageRepository: ""
- apiVersion: v1
kind: BuildConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
name: ruby-ex
spec:
output:
to:
kind: ImageStreamTag
name: ruby-ex:latest
postCommit: {}
resources: {}
source:
git:
uri: https://github.com/openshift/ruby-ex.git
type: Git
strategy:
sourceStrategy:
from:
kind: ImageStreamTag
name: ruby-22-centos7:latest
type: Source
triggers:
- github:
secret: L_9jYz1mYJehDsp2mDjj
type: GitHub
- generic:
secret: ZjBQOSolBU_FwAMgbPGe
type: Generic
- type: ConfigChange
- imageChange: {}
type: ImageChange
status:
lastVersion: 0
- apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
name: ruby-ex
spec:
replicas: 1
selector:
app: ruby-ex
deploymentconfig: ruby-ex
strategy:
resources: {}
template:
metadata:
annotations:
openshift.io/container.ruby-ex.image.entrypoint: '["container-entrypoint","/bin/sh","-c","$STI_SCRIPTS_PATH/usage"]'
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
deploymentconfig: ruby-ex
spec:
containers:
- image: ruby-ex:latest
name: ruby-ex
ports:
- containerPort: 8080
protocol: TCP
resources: {}
- image: ruby-ex:latest
name: ruby-ex2
ports:
- containerPort: 8081
protocol: TCP
resources: {}
test: false
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- ruby-ex
from:
kind: ImageStreamTag
name: ruby-ex:latest
type: ImageChange
- imageChangeParams:
automatic: true
containerNames:
- ruby-ex2
from:
kind: ImageStreamTag
name: ruby-ex:latest
type: ImageChange
status: {}
- apiVersion: v1
kind: Service
metadata:
annotations:
openshift.io/generated-by: OpenShiftNewApp
creationTimestamp: null
labels:
app: ruby-ex
name: ruby-ex
spec:
ports:
- name: 8080-tcp
port: 8080
protocol: TCP
targetPort: 8080
selector:
app: ruby-ex
deploymentconfig: ruby-ex
status:
loadBalancer: {}
kind: List
metadata: {}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment