From c48affb811a70cf3e5b7dc9029577d26da4f0de7 Mon Sep 17 00:00:00 2001 From: Scott Dodson Date: Fri, 24 Jul 2015 14:34:17 -0400 Subject: Updated examples --- .../files/examples/xpaas-templates/jws-tomcat8-basic-sti.json | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'roles/openshift_examples/files/examples/xpaas-templates/jws-tomcat8-basic-sti.json') diff --git a/roles/openshift_examples/files/examples/xpaas-templates/jws-tomcat8-basic-sti.json b/roles/openshift_examples/files/examples/xpaas-templates/jws-tomcat8-basic-sti.json index 25b6497b2..c8d130c37 100644 --- a/roles/openshift_examples/files/examples/xpaas-templates/jws-tomcat8-basic-sti.json +++ b/roles/openshift_examples/files/examples/xpaas-templates/jws-tomcat8-basic-sti.json @@ -151,24 +151,25 @@ }, "output": { "to": { - "name": "${APPLICATION_NAME}" + "kind": "ImageStreamTag", + "name": "${APPLICATION_NAME}:latest" } }, "triggers": [ { - "type": "github", + "type": "Github", "github": { "secret": "${GITHUB_TRIGGER_SECRET}" } }, { - "type": "generic", + "type": "Generic", "generic": { "secret": "${GENERIC_TRIGGER_SECRET}" } }, { - "type": "imageChange", + "type": "ImageChange", "imageChange": {} } ] @@ -231,7 +232,7 @@ }, "ports": [ { - "name": "${APPLICATION_NAME}-tcp-8080", + "name": "http", "containerPort": 8080, "protocol": "TCP" } -- cgit v1.2.3