anchor.diff:  ----
   kind: "DeploymentConfig"
   apiVersion: "v1"
  -metadata: 
  +metadata:
     name: "frontend"
  -spec: 
  +spec:
     template: <1>
  -    metadata: 
  -      labels: 
  +    metadata:
  +      labels:
           name: "frontend"
  -    spec: 
  -      containers: 
  +    spec:
  +      containers:
           - name: "helloworld"
             image: "openshift/origin-ruby-sample"
  -          ports: 
  +          ports:
               - containerPort: 8080
                 protocol: "TCP"
     replicas: 5 <2>
  -  selector: 
  +  selector:
       name: "frontend"
  -  triggers: 
  +  triggers:
       - type: "ConfigChange" <3>
       - type: "ImageChange" <4>
  -      imageChangeParams: 
  +      imageChangeParams:
           automatic: true
  -        containerNames: 
  +        containerNames:
             - "helloworld"
  -        from: 
  +        from:
             kind: "ImageStreamTag"
             name: "origin-ruby-sample:latest"
     strategy: <5>
  
positive.code: [[config-change-trigger]]
  === Configuration Change Trigger
  
  The ConfigChange trigger results in a new deployment whenever new changes are
  detected in the pod template of the deployment configuration.
  
  NOTE: If only a ConfigChange trigger is defined on a deployment configuration,
  the first deployment will be automatically created soon after the deployment
  configuration itself is created.
  
  The following is an example of a ConfigChange trigger:
  
  ====
  
  [source,yaml]
  ----
  triggers: 
    - type: "ConfigChange"
  ----
  ====
  
negative.code: specified in the deployment configuration's `helloworld` container, a new
  deployment is created using the new image for the `helloworld` container.
  
  NOTE: If an `*ImageChange*` trigger is defined on a deployment configuration
  (with a `*ConfigChange*` trigger or with `automatic=true`)
  and the `*ImageStreamTag*` pointed by the `*ImageChange*` trigger does not exist yet,
  then the first deployment automatically starts as soon as
  an image is imported or pushed by a build to the `*ImageStreamTag*`.
  
  [[strategies]]
  == Strategies
  