Skip to content

Instantly share code, notes, and snippets.

@gravis

gravis/dc.yaml Secret

Created October 1, 2015 15:01
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 gravis/e79f90851080d7bdc9a6 to your computer and use it in GitHub Desktop.
Save gravis/e79f90851080d7bdc9a6 to your computer and use it in GitHub Desktop.
kind: DeploymentConfig
apiVersion: v1
metadata:
name: resque
spec:
replicas: 1
selector:
name: resque
strategy:
type: Rolling
template:
metadata:
labels:
name: resque
spec:
containers:
triggers:
- imageChangeParams:
automatic: true
containerNames:
- resque
- resque-scheduler
- rails
from:
kind: ImageStreamTag
name: ruby:2.1-onbuild
type: ImageChange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment