@@ -218,18 +218,18 @@ failed and has not been manually deleted or pruned).
218
218
== Triggers
219
219
220
220
A deployment configuration can contain triggers, which drive the creation of
221
- new deployments in response to events, both inside and outside OpenShift .
221
+ new deployments in response to events, only inside OpenShift at the moment .
222
222
223
223
WARNING: If no triggers are defined on a deployment configuration, deployments
224
224
must be link:#start-deployment[started manually].
225
225
226
226
[[config-change-trigger]]
227
227
=== Configuration Change Trigger
228
228
229
- The ConfigChange trigger results in a new deployment whenever changes are
230
- detected to the replication controller template of the deployment configuration.
229
+ The ConfigChange trigger results in a new deployment whenever new changes are
230
+ detected in the pod template of the deployment configuration.
231
231
232
- NOTE: If a ConfigChange trigger is defined on a deployment configuration,
232
+ NOTE: If only a ConfigChange trigger is defined on a deployment configuration,
233
233
the first deployment will be automatically created soon after the deployment
234
234
configuration itself is created.
235
235
@@ -248,7 +248,7 @@ triggers:
248
248
=== Image Change Trigger
249
249
250
250
The ImageChange trigger results in a new deployment whenever the value of an
251
- image stream tag changes.
251
+ image stream tag changes either by a build or because it was imported .
252
252
253
253
The following is an example of an ImageChange trigger:
254
254
@@ -270,9 +270,15 @@ triggers:
270
270
====
271
271
272
272
With the above example, when the `latest` tag value of the `origin-ruby-sample`
273
- image stream changes and the new tag value differs from the current image
273
+ image stream changes and the new image value differs from the current image
274
274
specified in the deployment configuration's `helloworld` container, a new
275
- deployment is created using the new tag value for the `helloworld` container.
275
+ deployment is created using the new image for the `helloworld` container.
276
+
277
+ NOTE: If an ImageChange trigger is defined on a deployment configuration (with
278
+ a ConfigChange trigger or with automatic=true) and the ImageStreamTag pointed
279
+ by the ImageChange trigger does not exist yet then the first deployment will
280
+ automatically start as soon as an image is imported or pushed by a build to the
281
+ ImageStreamTag.
276
282
277
283
[[strategies]]
278
284
== Strategies
0 commit comments