Skip to content

Instantly share code, notes, and snippets.

@ll911
Created November 8, 2018 23:25
Show Gist options
  • Save ll911/4292e4ed6e110eb21baf14d33cc9704f to your computer and use it in GitHub Desktop.
Save ll911/4292e4ed6e110eb21baf14d33cc9704f to your computer and use it in GitHub Desktop.
bcdc-ckan-paster.yaml
apiVersion: v1
kind: DeploymentConfig
metadata:
annotations:
labels:
app: bcdc
name: ckan-paster
name: bcdc-ckan-paster
spec:
replicas: 1
selector:
app: bcdc
name: ckan-paster
deploymentconfig: bcdc-ckan-paster
template:
metadata:
annotations:
labels:
app: bcdc
name: ckan-paster
deploymentconfig: bcdc-ckan-paster
spec:
containers:
- name: paster
image: 172.50.0.2:5000/dbc-bcdc-dev/bcdc-atomic-base:latest
command: ["tail", "-f", "/dev/null"]
imagePullPolicy: Always
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: true
containerNames:
- paster
from:
kind: ImageStreamTag
name: 'bcdc-atomic-base:latest'
namespace: dbc-bcdc-dev
type: ImageChange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment