Skip to content

Instantly share code, notes, and snippets.

@bszeti
Created August 13, 2019 15:57
Show Gist options
  • Select an option

  • Save bszeti/648ea7e31a4e942069d08eead6ec4b2b to your computer and use it in GitHub Desktop.

Select an option

Save bszeti/648ea7e31a4e942069d08eead6ec4b2b to your computer and use it in GitHub Desktop.
# DeploymentConfig from ImageStream myimage-ref-source
apiVersion: apps.openshift.io/v1
kind: DeploymentConfig
metadata:
name: myimage-ref-source-mytag
spec:
replicas: 1
template:
metadata:
labels:
app: myimage-ref-source-mytag
spec:
containers:
- image: 'ignored'
imagePullPolicy: Always
name: mycontainer
triggers:
- type: ConfigChange
- imageChangeParams:
automatic: false
containerNames:
- mycontainer
from:
kind: ImageStreamTag
name: myimage-ref-source:mytag
namespace: myproject
type: ImageChange
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment