Skip to content

Instantly share code, notes, and snippets.

@deads2k
Last active August 29, 2015 14:23
Show Gist options
  • Save deads2k/05ccf3d6d3a2fb2fb74b to your computer and use it in GitHub Desktop.
Save deads2k/05ccf3d6d3a2fb2fb74b to your computer and use it in GitHub Desktop.
apiVersion: v1
kind: BuildConfig
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
output:
to:
kind: ImageStreamTag
name: docker-nfs-server:latest
resources: {}
source:
git:
uri: https://github.com/deads2k/docker-nfs-server
type: Git
strategy:
dockerStrategy:
from:
kind: ImageStreamTag
name: ubuntu-debootstrap:14.04
type: Docker
triggers:
- github:
secret: wAWBuMZdIVbWLscgzxUn
type: GitHub
- generic:
secret: _XRLouIDQsz0ARuFnEo0
type: Generic
- imageChange: {}
apiVersion: v1
kind: DeploymentConfig
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
replicas: 1
selector:
deploymentconfig: docker-nfs-server
strategy:
resources: {}
type: Recreate
template:
metadata:
creationTimestamp: null
labels:
deploymentconfig: docker-nfs-server
spec:
containers:
- image: library/docker-nfs-server:latest
name: docker-nfs-server
ports:
- containerPort: 111
name: docker-nfs-server-udp-111
protocol: UDP
- containerPort: 111
name: docker-nfs-server-tcp-111
protocol: TCP
- containerPort: 2049
name: docker-nfs-server-tcp-2049
protocol: TCP
- containerPort: 2049
name: docker-nfs-server-udp-2049
protocol: UDP
resources: {}
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- docker-nfs-server
from:
kind: ImageStreamTag
name: docker-nfs-server:latest
type: ImageChange
apiVersion: v1
kind: ImageStream
metadata:
creationTimestamp: null
name: ubuntu-debootstrap
spec:
dockerImageRepository: library/ubuntu-debootstrap:14.04
status:
dockerImageRepository: ""
apiVersion: v1
kind: ImageStream
metadata:
creationTimestamp: null
name: docker-nfs-server
spec:
tags:
- from:
kind: DockerImage
name: library/docker-nfs-server:latest
name: latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment