Skip to content

Instantly share code, notes, and snippets.

@fbricon
Created February 23, 2016 22:37
Show Gist options
  • Save fbricon/f3f62631290b125ff5c6 to your computer and use it in GitHub Desktop.
Save fbricon/f3f62631290b125ff5c6 to your computer and use it in GitHub Desktop.
oc new-app kubernetes/guestbook
➜ souk oc new-app kubernetes/guestbook --loglevel=8
I0223 17:35:53.816765 68173 loader.go:241] Config loaded from file /Users/fbricon/.kube/config
I0223 17:35:53.818840 68173 loader.go:241] Config loaded from file /Users/fbricon/.kube/config
I0223 17:35:53.822502 68173 debugging.go:99] GET https://10.1.2.2:8443/oapi
I0223 17:35:53.822526 68173 debugging.go:106] Request Headers:
I0223 17:35:53.822533 68173 debugging.go:109] User-Agent: oc/v1.1 (darwin/amd64) openshift/1904cc3
I0223 17:35:53.822539 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:53.852285 68173 debugging.go:124] Response Status: 200 OK in 29 milliseconds
I0223 17:35:53.852311 68173 debugging.go:127] Response Headers:
I0223 17:35:53.852318 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:53.852325 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:53 GMT
I0223 17:35:53.852331 68173 debugging.go:130] Content-Length: 32
I0223 17:35:53.852337 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:53.852664 68173 request.go:796] Response Body: {
"versions": [
"v1"
]
}
I0223 17:35:53.855812 68173 loader.go:241] Config loaded from file /Users/fbricon/.kube/config
I0223 17:35:53.857320 68173 loader.go:241] Config loaded from file /Users/fbricon/.kube/config
I0223 17:35:53.915252 68173 newapp.go:409] Docker client did not respond to a ping: Get http://unix.sock/_ping: dial unix /var/run/docker.sock: no such file or directory
I0223 17:35:53.915293 68173 newapp.go:413] No local Docker daemon detected: Get http://unix.sock/_ping: dial unix /var/run/docker.sock: no such file or directory
I0223 17:35:53.919376 68173 loader.go:241] Config loaded from file /Users/fbricon/.kube/config
I0223 17:35:53.920360 68173 loader.go:241] Config loaded from file /Users/fbricon/.kube/config
I0223 17:35:53.920661 68173 debugging.go:99] GET https://10.1.2.2:8443/api
I0223 17:35:53.920671 68173 debugging.go:106] Request Headers:
I0223 17:35:53.920678 68173 debugging.go:109] User-Agent: oc/v1.1.0 (darwin/amd64) kubernetes/4c8e6f4
I0223 17:35:53.920684 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:53.924310 68173 debugging.go:124] Response Status: 200 OK in 3 milliseconds
I0223 17:35:53.924335 68173 debugging.go:127] Response Headers:
I0223 17:35:53.924342 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:53.924348 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:53.924353 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:53 GMT
I0223 17:35:53.924359 68173 debugging.go:130] Content-Length: 32
I0223 17:35:53.924382 68173 request.go:796] Response Body: {
"versions": [
"v1"
]
}
I0223 17:35:53.931276 68173 imagestreamlookup.go:40] checking ImageStreams kubernetes/guestbook with ref "latest"
I0223 17:35:53.932184 68173 debugging.go:99] GET https://10.1.2.2:8443/oapi/v1/namespaces/kubernetes/imagestreams
I0223 17:35:53.932202 68173 debugging.go:106] Request Headers:
I0223 17:35:53.932209 68173 debugging.go:109] User-Agent: oc/v1.1 (darwin/amd64) openshift/1904cc3
I0223 17:35:53.932216 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:53.936396 68173 debugging.go:124] Response Status: 403 Forbidden in 4 milliseconds
I0223 17:35:53.936430 68173 debugging.go:127] Response Headers:
I0223 17:35:53.936438 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:53.936445 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:53.936452 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:53 GMT
I0223 17:35:53.936458 68173 debugging.go:130] Content-Length: 260
I0223 17:35:53.936520 68173 request.go:796] Response Body: {
"kind": "Status",
"apiVersion": "v1",
"metadata": {},
"status": "Failure",
"message": "User \"test-admin\" cannot list imagestreams in project \"kubernetes\"",
"reason": "Forbidden",
"details": {
"kind": "imagestreams"
},
"code": 403
}
I0223 17:35:53.960973 68173 templatelookup.go:40] checking template guestbook/kubernetes/guestbook
I0223 17:35:53.961030 68173 debugging.go:99] GET https://10.1.2.2:8443/oapi/v1/namespaces/guestbook/templates
I0223 17:35:53.961039 68173 debugging.go:106] Request Headers:
I0223 17:35:53.961044 68173 debugging.go:109] User-Agent: oc/v1.1 (darwin/amd64) openshift/1904cc3
I0223 17:35:53.961050 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:53.965262 68173 debugging.go:124] Response Status: 200 OK in 4 milliseconds
I0223 17:35:53.965289 68173 debugging.go:127] Response Headers:
I0223 17:35:53.965337 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:53 GMT
I0223 17:35:53.965346 68173 debugging.go:130] Content-Length: 145
I0223 17:35:53.965352 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:53.965357 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:53.965380 68173 request.go:796] Response Body: {"kind":"TemplateList","apiVersion":"v1","metadata":{"selfLink":"/oapi/v1/namespaces/guestbook/templates","resourceVersion":"86269"},"items":[]}
I0223 17:35:53.966804 68173 templatelookup.go:40] checking template openshift/kubernetes/guestbook
I0223 17:35:53.966853 68173 debugging.go:99] GET https://10.1.2.2:8443/oapi/v1/namespaces/openshift/templates
I0223 17:35:53.966862 68173 debugging.go:106] Request Headers:
I0223 17:35:53.966868 68173 debugging.go:109] User-Agent: oc/v1.1 (darwin/amd64) openshift/1904cc3
I0223 17:35:53.966873 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:54.037955 68173 debugging.go:124] Response Status: 200 OK in 71 milliseconds
I0223 17:35:54.037986 68173 debugging.go:127] Response Headers:
I0223 17:35:54.037994 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:54.038002 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:53 GMT
I0223 17:35:54.038008 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:54.043045 68173 request.go:796] Response Body: {"kind":"TemplateList","apiVersion":"v1","metadata":{"selfLink":"/oapi/v1/namespaces/openshift/templates","resourceVersion":"86269"},"items":[{"metadata":{"name":"eap64-amq-persistent-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-amq-persistent-s2i","uid":"6874f07a-ca8a-11e5-923b-52540013d96e","resourceVersion":"292","creationTimestamp":"2016-02-03T15:25:51Z","annotations":{"description":"Application template for EAP 6 A-MQ applications with persistent storage built using S2I.","iconClass":"icon-jboss","tags":"eap,amq,javaee,java,messaging,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's HTTP port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's HTTPS port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":61616,"targetPort":61616}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-amq"}},"metadata":{"name":"${APPLICATION_NAME}-amq-tcp","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The broker's OpenWire port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's HTTP service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's HTTPS service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"MQ_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-amq=MQ"},{"name":"MQ_JNDI","value":"${MQ_JNDI}"},{"name":"MQ_USERNAME","value":"${MQ_USERNAME}"},{"name":"MQ_PASSWORD","value":"${MQ_PASSWORD}"},{"name":"MQ_PROTOCOL","value":"tcp"},{"name":"MQ_QUEUES","value":"${MQ_QUEUES}"},{"name":"MQ_TOPICS","value":"${MQ_TOPICS}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-amq","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-amq"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-amq-62:1.2"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-amq"},"template":{"metadata":{"name":"${APPLICATION_NAME}-amq","labels":{"deploymentConfig":"${APPLICATION_NAME}-amq","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-amq","image":"jboss-amq-62","imagePullPolicy":"Always","readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/amq/bin/readinessProbe.sh"]}},"ports":[{"name":"amqp","containerPort":5672,"protocol":"TCP"},{"name":"amqp-ssl","containerPort":5671,"protocol":"TCP"},{"name":"mqtt","containerPort":1883,"protocol":"TCP"},{"name":"stomp","containerPort":61613,"protocol":"TCP"},{"name":"stomp-ssl","containerPort":61612,"protocol":"TCP"},{"name":"tcp","containerPort":61616,"protocol":"TCP"},{"name":"tcp-ssl","containerPort":61617,"protocol":"TCP"}],"volumeMounts":[{"mountPath":"/opt/amq/data/kahadb","name":"${APPLICATION_NAME}-amq-pvol"}],"env":[{"name":"AMQ_USER","value":"${MQ_USERNAME}"},{"name":"AMQ_PASSWORD","value":"${MQ_PASSWORD}"},{"name":"AMQ_TRANSPORTS","value":"${MQ_PROTOCOL}"},{"name":"AMQ_QUEUES","value":"${MQ_QUEUES}"},{"name":"AMQ_TOPICS","value":"${MQ_TOPICS}"},{"name":"AMQ_ADMIN_USERNAME","value":"${AMQ_ADMIN_USERNAME}"},{"name":"AMQ_ADMIN_PASSWORD","value":"${AMQ_ADMIN_PASSWORD}"}]}],"volumes":[{"name":"${APPLICATION_NAME}-amq-pvol","persistentVolumeClaim":{"claimName":"${APPLICATION_NAME}-amq-claim"}}]}}}},{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"name":"${APPLICATION_NAME}-amq-claim","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-developer/jboss-eap-quickstarts.git","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"6.4.x"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"helloworld-mdb"},{"name":"VOLUME_CAPACITY","description":"Size of persistent storage for database volume.","value":"512Mi","required":true},{"name":"MQ_JNDI","description":"JNDI name for connection factory used by applications to connect to the broker, e.g. java:/ConnectionFactory","value":"java:/ConnectionFactory"},{"name":"MQ_PROTOCOL","description":"Broker protocols to configure, separated by commas. Allowed values are: `openwire`, `amqp`, `stomp` and `mqtt`. Only `openwire` is supported by EAP.","value":"openwire"},{"name":"MQ_QUEUES","description":"Queue names, separated by commas. These queues will be automatically created when the broker starts. Also, they will be made accessible as JNDI resources in EAP.","value":"HELLOWORLDMDBQueue"},{"name":"MQ_TOPICS","description":"Topic names, separated by commas. These topics will be automatically created when the broker starts. Also, they will be made accessible as JNDI resources in EAP.","value":"HELLOWORLDMDBTopic"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"MQ_USERNAME","description":"User name for standard broker user. It is required for connecting to the broker. If left empty, it will be generated.","generate":"expression","from":"user[a-zA-Z0-9]{3}"},{"name":"MQ_PASSWORD","description":"Password for standard broker user. It is required for connecting to the broker. If left empty, it will be generated.","generate":"expression","from":"[a-zA-Z0-9]{8}"},{"name":"AMQ_ADMIN_USERNAME","description":"User name for broker admin. If left empty, it will be generated.","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"AMQ_ADMIN_PASSWORD","description":"Password for broker admin. If left empty, it will be generated.","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-amq-persistent-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-amq-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-amq-s2i","uid":"68eddf8e-ca8a-11e5-923b-52540013d96e","resourceVersion":"295","creationTimestamp":"2016-02-03T15:25:51Z","annotations":{"description":"Application template for EAP 6 A-MQ applications built using S2I.","iconClass":"icon-jboss","tags":"eap,amq,javaee,java,messaging,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's HTTP port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's HTTPS port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":61616,"targetPort":61616}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-amq"}},"metadata":{"name":"${APPLICATION_NAME}-amq-tcp","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The broker's OpenWire port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's HTTP service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's HTTPS service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"MQ_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-amq=MQ"},{"name":"MQ_JNDI","value":"${MQ_JNDI}"},{"name":"MQ_USERNAME","value":"${MQ_USERNAME}"},{"name":"MQ_PASSWORD","value":"${MQ_PASSWORD}"},{"name":"MQ_PROTOCOL","value":"tcp"},{"name":"MQ_QUEUES","value":"${MQ_QUEUES}"},{"name":"MQ_TOPICS","value":"${MQ_TOPICS}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-amq","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-amq"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-amq-62:1.2"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-amq"},"template":{"metadata":{"name":"${APPLICATION_NAME}-amq","labels":{"deploymentConfig":"${APPLICATION_NAME}-amq","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-amq","image":"jboss-amq-62","imagePullPolicy":"Always","readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/amq/bin/readinessProbe.sh"]}},"ports":[{"name":"amqp","containerPort":5672,"protocol":"TCP"},{"name":"amqp-ssl","containerPort":5671,"protocol":"TCP"},{"name":"mqtt","containerPort":1883,"protocol":"TCP"},{"name":"stomp","containerPort":61613,"protocol":"TCP"},{"name":"stomp-ssl","containerPort":61612,"protocol":"TCP"},{"name":"tcp","containerPort":61616,"protocol":"TCP"},{"name":"tcp-ssl","containerPort":61617,"protocol":"TCP"}],"env":[{"name":"AMQ_USER","value":"${MQ_USERNAME}"},{"name":"AMQ_PASSWORD","value":"${MQ_PASSWORD}"},{"name":"AMQ_TRANSPORTS","value":"${MQ_PROTOCOL}"},{"name":"AMQ_QUEUES","value":"${MQ_QUEUES}"},{"name":"AMQ_TOPICS","value":"${MQ_TOPICS}"},{"name":"AMQ_ADMIN_USERNAME","value":"${AMQ_ADMIN_USERNAME}"},{"name":"AMQ_ADMIN_PASSWORD","value":"${AMQ_ADMIN_PASSWORD}"}]}]}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-developer/jboss-eap-quickstarts.git","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"6.4.x"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"helloworld-mdb"},{"name":"MQ_JNDI","description":"JNDI name for connection factory used by applications to connect to the broker, e.g. java:/ConnectionFactory","value":"java:/ConnectionFactory"},{"name":"MQ_PROTOCOL","description":"Broker protocols to configure, separated by commas. Allowed values are: `openwire`, `amqp`, `stomp` and `mqtt`. Only `openwire` is supported by EAP.","value":"openwire"},{"name":"MQ_QUEUES","description":"Queue names, separated by commas. These queues will be automatically created when the broker starts. Also, they will be made accessible as JNDI resources in EAP.","value":"HELLOWORLDMDBQueue"},{"name":"MQ_TOPICS","description":"Topic names, separated by commas. These topics will be automatically created when the broker starts. Also, they will be made accessible as JNDI resources in EAP.","value":"HELLOWORLDMDBTopic"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"MQ_USERNAME","description":"User name for standard broker user. It is required for connecting to the broker. If left empty, it will be generated.","generate":"expression","from":"user[a-zA-Z0-9]{3}"},{"name":"MQ_PASSWORD","description":"Password for standard broker user. It is required for connecting to the broker. If left empty, it will be generated.","generate":"expression","from":"[a-zA-Z0-9]{8}"},{"name":"AMQ_ADMIN_USERNAME","description":"User name for broker admin. If left empty, it will be generated.","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"AMQ_ADMIN_PASSWORD","description":"Password for broker admin. If left empty, it will be generated.","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-amq-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-basic-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-basic-s2i","uid":"69765d4f-ca8a-11e5-923b-52540013d96e","resourceVersion":"298","creationTimestamp":"2016-02-03T15:25:52Z","annotations":{"description":"Application template for EAP 6 applications built using S2I.","iconClass":"icon-jboss","tags":"eap,javaee,java,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}]}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-developer/jboss-eap-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"6.4.x"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"kitchensink"},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-basic-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-https-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-https-s2i","uid":"69e21ccc-ca8a-11e5-923b-52540013d96e","resourceVersion":"303","creationTimestamp":"2016-02-03T15:25:53Z","annotations":{"description":"Application template for EAP 6 applications built using S2I.","iconClass":"icon-jboss","tags":"eap,javaee,java,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-developer/jboss-eap-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"6.4.x"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"kitchensink"},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret","required":true},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-https-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-mongodb-persistent-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-mongodb-persistent-s2i","uid":"6a6272cd-ca8a-11e5-923b-52540013d96e","resourceVersion":"306","creationTimestamp":"2016-02-03T15:25:54Z","annotations":{"description":"Application template for EAP 6 MongDB applications with persistent storage built using S2I.","iconClass":"icon-jboss","tags":"eap,mongodb,javaee,java,database,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":27017,"targetPort":27017}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-mongodb"}},"metadata":{"name":"${APPLICATION_NAME}-mongodb","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The database server's port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"DB_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-mongodb=DB"},{"name":"DB_JNDI","value":"${DB_JNDI}"},{"name":"DB_USERNAME","value":"${DB_USERNAME}"},{"name":"DB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"DB_DATABASE","value":"${DB_DATABASE}"},{"name":"DB_ADMIN_PASSWORD","value":"${DB_ADMIN_PASSWORD}"},{"name":"DB_MIN_POOL_SIZE","value":"${DB_MIN_POOL_SIZE}"},{"name":"DB_MAX_POOL_SIZE","value":"${DB_MAX_POOL_SIZE}"},{"name":"DB_TX_ISOLATION","value":"${DB_TX_ISOLATION}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-mongodb","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-mongodb"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"mongodb:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-mongodb"},"template":{"metadata":{"name":"${APPLICATION_NAME}-mongodb","labels":{"deploymentConfig":"${APPLICATION_NAME}-mongodb","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-mongodb","image":"mongodb","imagePullPolicy":"Always","ports":[{"containerPort":27017,"protocol":"TCP"}],"volumeMounts":[{"mountPath":"/var/lib/mongodb/data","name":"${APPLICATION_NAME}-mongodb-pvol"}],"env":[{"name":"MONGODB_USER","value":"${DB_USERNAME}"},{"name":"MONGODB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${DB_DATABASE}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${DB_ADMIN_PASSWORD}"},{"name":"MONGODB_NOPREALLOC","value":"${MONGODB_NOPREALLOC}"},{"name":"MONGODB_SMALLFILES","value":"${MONGODB_SMALLFILES}"},{"name":"MONGODB_QUIET","value":"${MONGODB_QUIET}"}]}],"volumes":[{"name":"${APPLICATION_NAME}-mongodb-pvol","persistentVolumeClaim":{"claimName":"${APPLICATION_NAME}-mongodb-claim"}}]}}}},{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"name":"${APPLICATION_NAME}-mongodb-claim","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-openshift/openshift-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"1.2"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"todolist/todolist-mongodb"},{"name":"DB_JNDI","description":"Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/mongodb"},{"name":"DB_DATABASE","description":"Database name","value":"root","required":true},{"name":"VOLUME_CAPACITY","description":"Size of persistent storage for database volume.","value":"512Mi","required":true},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"DB_MIN_POOL_SIZE","description":"Sets xa-pool/min-pool-size for the configured datasource."},{"name":"DB_MAX_POOL_SIZE","description":"Sets xa-pool/max-pool-size for the configured datasource."},{"name":"DB_TX_ISOLATION","description":"Sets transaction-isolation for the configured datasource."},{"name":"MONGODB_NOPREALLOC","description":"Disable data file preallocation."},{"name":"MONGODB_SMALLFILES","description":"Set MongoDB to use a smaller default data file size."},{"name":"MONGODB_QUIET","description":"Runs MongoDB in a quiet mode that attempts to limit the amount of output."},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_USERNAME","description":"Database user name","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"DB_PASSWORD","description":"Database user password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_ADMIN_PASSWORD","description":"Database admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-mongodb-persistent-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-mongodb-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-mongodb-s2i","uid":"6af5b994-ca8a-11e5-923b-52540013d96e","resourceVersion":"308","creationTimestamp":"2016-02-03T15:25:55Z","annotations":{"description":"Application template for EAP 6 MongDB applications built using S2I.","iconClass":"icon-jboss","tags":"eap,mongodb,javaee,java,database,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":27017,"targetPort":27017}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-mongodb"}},"metadata":{"name":"${APPLICATION_NAME}-mongodb","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The database server's port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"DB_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-mongodb=DB"},{"name":"DB_JNDI","value":"${DB_JNDI}"},{"name":"DB_USERNAME","value":"${DB_USERNAME}"},{"name":"DB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"DB_DATABASE","value":"${DB_DATABASE}"},{"name":"DB_ADMIN_PASSWORD","value":"${DB_ADMIN_PASSWORD}"},{"name":"DB_MIN_POOL_SIZE","value":"${DB_MIN_POOL_SIZE}"},{"name":"DB_MAX_POOL_SIZE","value":"${DB_MAX_POOL_SIZE}"},{"name":"DB_TX_ISOLATION","value":"${DB_TX_ISOLATION}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-mongodb","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-mongodb"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"mongodb:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-mongodb"},"template":{"metadata":{"name":"${APPLICATION_NAME}-mongodb","labels":{"deploymentConfig":"${APPLICATION_NAME}-mongodb","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-mongodb","image":"mongodb","imagePullPolicy":"Always","ports":[{"containerPort":27017,"protocol":"TCP"}],"env":[{"name":"MONGODB_USER","value":"${DB_USERNAME}"},{"name":"MONGODB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${DB_DATABASE}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${DB_ADMIN_PASSWORD}"},{"name":"MONGODB_NOPREALLOC","value":"${MONGODB_NOPREALLOC}"},{"name":"MONGODB_SMALLFILES","value":"${MONGODB_SMALLFILES}"},{"name":"MONGODB_QUIET","value":"${MONGODB_QUIET}"}]}]}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-openshift/openshift-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"1.2"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"todolist/todolist-mongodb"},{"name":"DB_JNDI","description":"Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/mongodb"},{"name":"DB_DATABASE","description":"Database name","value":"root","required":true},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"DB_MIN_POOL_SIZE","description":"Sets xa-pool/min-pool-size for the configured datasource."},{"name":"DB_MAX_POOL_SIZE","description":"Sets xa-pool/max-pool-size for the configured datasource."},{"name":"DB_TX_ISOLATION","description":"Sets transaction-isolation for the configured datasource."},{"name":"MONGODB_NOPREALLOC","description":"Disable data file preallocation."},{"name":"MONGODB_SMALLFILES","description":"Set MongoDB to use a smaller default data file size."},{"name":"MONGODB_QUIET","description":"Runs MongoDB in a quiet mode that attempts to limit the amount of output."},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_USERNAME","description":"Database user name","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"DB_PASSWORD","description":"Database user password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_ADMIN_PASSWORD","description":"Database admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-mongodb-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-mysql-persistent-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-mysql-persistent-s2i","uid":"6b647033-ca8a-11e5-923b-52540013d96e","resourceVersion":"314","creationTimestamp":"2016-02-03T15:25:56Z","annotations":{"description":"Application template for EAP 6 MySQL applications with persistent storage built using S2I.","iconClass":"icon-jboss","tags":"eap,mysql,javaee,java,database,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":3306,"targetPort":3306}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-mysql"}},"metadata":{"name":"${APPLICATION_NAME}-mysql","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The database server's port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"DB_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-mysql=DB"},{"name":"DB_JNDI","value":"${DB_JNDI}"},{"name":"DB_USERNAME","value":"${DB_USERNAME}"},{"name":"DB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"DB_DATABASE","value":"${DB_DATABASE}"},{"name":"TX_DATABASE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-mysql=DB"},{"name":"DB_MIN_POOL_SIZE","value":"${DB_MIN_POOL_SIZE}"},{"name":"DB_MAX_POOL_SIZE","value":"${DB_MAX_POOL_SIZE}"},{"name":"DB_TX_ISOLATION","value":"${DB_TX_ISOLATION}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-mysql","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-mysql"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"mysql:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-mysql"},"template":{"metadata":{"name":"${APPLICATION_NAME}-mysql","labels":{"deploymentConfig":"${APPLICATION_NAME}-mysql","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-mysql","image":"mysql","imagePullPolicy":"Always","ports":[{"containerPort":3306,"protocol":"TCP"}],"volumeMounts":[{"mountPath":"/var/lib/mysql/data","name":"${APPLICATION_NAME}-mysql-pvol"}],"env":[{"name":"MYSQL_USER","value":"${DB_USERNAME}"},{"name":"MYSQL_PASSWORD","value":"${DB_PASSWORD}"},{"name":"MYSQL_DATABASE","value":"${DB_DATABASE}"},{"name":"MYSQL_LOWER_CASE_TABLE_NAMES","value":"${MYSQL_LOWER_CASE_TABLE_NAMES}"},{"name":"MYSQL_MAX_CONNECTIONS","value":"${MYSQL_MAX_CONNECTIONS}"},{"name":"MYSQL_FT_MIN_WORD_LEN","value":"${MYSQL_FT_MIN_WORD_LEN}"},{"name":"MYSQL_FT_MAX_WORD_LEN","value":"${MYSQL_FT_MAX_WORD_LEN}"},{"name":"MYSQL_AIO","value":"${MYSQL_AIO}"}]}],"volumes":[{"name":"${APPLICATION_NAME}-mysql-pvol","persistentVolumeClaim":{"claimName":"${APPLICATION_NAME}-mysql-claim"}}]}}}},{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"name":"${APPLICATION_NAME}-mysql-claim","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-openshift/openshift-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"1.2"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"todolist/todolist-jdbc"},{"name":"DB_JNDI","description":"Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/mysql","value":"java:jboss/datasources/TodoListDS"},{"name":"DB_DATABASE","description":"Database name","value":"root","required":true},{"name":"VOLUME_CAPACITY","description":"Size of persistent storage for database volume.","value":"512Mi","required":true},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"DB_MIN_POOL_SIZE","description":"Sets xa-pool/min-pool-size for the configured datasource."},{"name":"DB_MAX_POOL_SIZE","description":"Sets xa-pool/max-pool-size for the configured datasource."},{"name":"DB_TX_ISOLATION","description":"Sets transaction-isolation for the configured datasource."},{"name":"MYSQL_LOWER_CASE_TABLE_NAMES","description":"Sets how the table names are stored and compared."},{"name":"MYSQL_MAX_CONNECTIONS","description":"The maximum permitted number of simultaneous client connections."},{"name":"MYSQL_FT_MIN_WORD_LEN","description":"The minimum length of the word to be included in a FULLTEXT index."},{"name":"MYSQL_FT_MAX_WORD_LEN","description":"The maximum length of the word to be included in a FULLTEXT index."},{"name":"MYSQL_AIO","description":"Controls the innodb_use_native_aio setting value if the native AIO is broken."},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_USERNAME","description":"Database user name","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"DB_PASSWORD","description":"Database user password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-mysql-persistent-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-mysql-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-mysql-s2i","uid":"6bc7093d-ca8a-11e5-923b-52540013d96e","resourceVersion":"316","creationTimestamp":"2016-02-03T15:25:56Z","annotations":{"description":"Application template for EAP 6 MySQL applications built using S2I.","iconClass":"icon-jboss","tags":"eap,mysql,javaee,java,database,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":3306,"targetPort":3306}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-mysql"}},"metadata":{"name":"${APPLICATION_NAME}-mysql","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The database server's port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"DB_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-mysql=DB"},{"name":"DB_JNDI","value":"${DB_JNDI}"},{"name":"DB_USERNAME","value":"${DB_USERNAME}"},{"name":"DB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"DB_DATABASE","value":"${DB_DATABASE}"},{"name":"TX_DATABASE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-mysql=DB"},{"name":"DB_MIN_POOL_SIZE","value":"${DB_MIN_POOL_SIZE}"},{"name":"DB_MAX_POOL_SIZE","value":"${DB_MAX_POOL_SIZE}"},{"name":"DB_TX_ISOLATION","value":"${DB_TX_ISOLATION}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-mysql","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-mysql"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"mysql:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-mysql"},"template":{"metadata":{"name":"${APPLICATION_NAME}-mysql","labels":{"deploymentConfig":"${APPLICATION_NAME}-mysql","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-mysql","image":"mysql","imagePullPolicy":"Always","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"${DB_USERNAME}"},{"name":"MYSQL_PASSWORD","value":"${DB_PASSWORD}"},{"name":"MYSQL_DATABASE","value":"${DB_DATABASE}"},{"name":"MYSQL_LOWER_CASE_TABLE_NAMES","value":"${MYSQL_LOWER_CASE_TABLE_NAMES}"},{"name":"MYSQL_MAX_CONNECTIONS","value":"${MYSQL_MAX_CONNECTIONS}"},{"name":"MYSQL_FT_MIN_WORD_LEN","value":"${MYSQL_FT_MIN_WORD_LEN}"},{"name":"MYSQL_FT_MAX_WORD_LEN","value":"${MYSQL_FT_MAX_WORD_LEN}"},{"name":"MYSQL_AIO","value":"${MYSQL_AIO}"}]}]}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-openshift/openshift-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"1.2"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"todolist/todolist-jdbc"},{"name":"DB_JNDI","description":"Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/mysql","value":"java:jboss/datasources/TodoListDS"},{"name":"DB_DATABASE","description":"Database name","value":"root","required":true},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"DB_MIN_POOL_SIZE","description":"Sets xa-pool/min-pool-size for the configured datasource."},{"name":"DB_MAX_POOL_SIZE","description":"Sets xa-pool/max-pool-size for the configured datasource."},{"name":"DB_TX_ISOLATION","description":"Sets transaction-isolation for the configured datasource."},{"name":"MYSQL_LOWER_CASE_TABLE_NAMES","description":"Sets how the table names are stored and compared."},{"name":"MYSQL_MAX_CONNECTIONS","description":"The maximum permitted number of simultaneous client connections."},{"name":"MYSQL_FT_MIN_WORD_LEN","description":"The minimum length of the word to be included in a FULLTEXT index."},{"name":"MYSQL_FT_MAX_WORD_LEN","description":"The maximum length of the word to be included in a FULLTEXT index."},{"name":"MYSQL_AIO","description":"Controls the innodb_use_native_aio setting value if the native AIO is broken."},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_USERNAME","description":"Database user name","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"DB_PASSWORD","description":"Database user password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-mysql-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-postgresql-persistent-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-postgresql-persistent-s2i","uid":"6c368c94-ca8a-11e5-923b-52540013d96e","resourceVersion":"321","creationTimestamp":"2016-02-03T15:25:57Z","annotations":{"description":"Application template for EAP 6 PostgreSQL applications with persistent storage built using S2I.","iconClass":"icon-jboss","tags":"eap,postgresql,javaee,java,database,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":5432,"targetPort":5432}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-postgresql"}},"metadata":{"name":"${APPLICATION_NAME}-postgresql","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The database server's port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"DB_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-postgresql=DB"},{"name":"DB_JNDI","value":"${DB_JNDI}"},{"name":"DB_USERNAME","value":"${DB_USERNAME}"},{"name":"DB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"DB_DATABASE","value":"${DB_DATABASE}"},{"name":"TX_DATABASE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-postgresql=DB"},{"name":"DB_MIN_POOL_SIZE","value":"${DB_MIN_POOL_SIZE}"},{"name":"DB_MAX_POOL_SIZE","value":"${DB_MAX_POOL_SIZE}"},{"name":"DB_TX_ISOLATION","value":"${DB_TX_ISOLATION}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-postgresql","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-postgresql"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"postgresql:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-postgresql"},"template":{"metadata":{"name":"${APPLICATION_NAME}-postgresql","labels":{"deploymentConfig":"${APPLICATION_NAME}-postgresql","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-postgresql","image":"postgresql","imagePullPolicy":"Always","ports":[{"containerPort":5432,"protocol":"TCP"}],"volumeMounts":[{"mountPath":"/var/lib/pgsql/data","name":"${APPLICATION_NAME}-postgresql-pvol"}],"env":[{"name":"POSTGRESQL_USER","value":"${DB_USERNAME}"},{"name":"POSTGRESQL_PASSWORD","value":"${DB_PASSWORD}"},{"name":"POSTGRESQL_DATABASE","value":"${DB_DATABASE}"},{"name":"POSTGRESQL_MAX_CONNECTIONS","value":"${POSTGRESQL_MAX_CONNECTIONS}"},{"name":"POSTGRESQL_SHARED_BUFFERS","value":"${POSTGRESQL_SHARED_BUFFERS}"}]}],"volumes":[{"name":"${APPLICATION_NAME}-postgresql-pvol","persistentVolumeClaim":{"claimName":"${APPLICATION_NAME}-postgresql-claim"}}]}}}},{"apiVersion":"v1","kind":"PersistentVolumeClaim","metadata":{"name":"${APPLICATION_NAME}-postgresql-claim","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-openshift/openshift-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"1.2"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"todolist/todolist-jdbc"},{"name":"DB_JNDI","description":"Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/postgresql","value":"java:jboss/datasources/TodoListDS"},{"name":"DB_DATABASE","description":"Database name","value":"root","required":true},{"name":"VOLUME_CAPACITY","description":"Size of persistent storage for database volume.","value":"512Mi","required":true},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"DB_MIN_POOL_SIZE","description":"Sets xa-pool/min-pool-size for the configured datasource."},{"name":"DB_MAX_POOL_SIZE","description":"Sets xa-pool/max-pool-size for the configured datasource."},{"name":"DB_TX_ISOLATION","description":"Sets transaction-isolation for the configured datasource."},{"name":"POSTGRESQL_MAX_CONNECTIONS","description":"The maximum number of client connections allowed. This also sets the maximum number of prepared transactions."},{"name":"POSTGRESQL_SHARED_BUFFERS","description":"Configures how much memory is dedicated to PostgreSQL for caching data."},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_USERNAME","description":"Database user name","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"DB_PASSWORD","description":"Database user password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-postgresql-persistent-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"eap64-postgresql-s2i","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/eap64-postgresql-s2i","uid":"6cbfb51a-ca8a-11e5-923b-52540013d96e","resourceVersion":"334","creationTimestamp":"2016-02-03T15:25:58Z","annotations":{"description":"Application template for EAP 6 PostgreSQL applications built using S2I.","iconClass":"icon-jboss","tags":"eap,postgresql,javaee,java,database,jboss,xpaas","version":"1.2.0"}},"objects":[{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8080,"targetPort":8080}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's http port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":8443,"targetPort":8443}],"selector":{"deploymentConfig":"${APPLICATION_NAME}"}},"metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The web server's https port."}}},{"kind":"Service","apiVersion":"v1","spec":{"ports":[{"port":5432,"targetPort":5432}],"selector":{"deploymentConfig":"${APPLICATION_NAME}-postgresql"}},"metadata":{"name":"${APPLICATION_NAME}-postgresql","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"The database server's port."}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-http","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's http service."}},"spec":{"host":"${HOSTNAME_HTTP}","to":{"name":"${APPLICATION_NAME}"}}},{"kind":"Route","apiVersion":"v1","id":"${APPLICATION_NAME}-https","metadata":{"name":"secure-${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"},"annotations":{"description":"Route for application's https service."}},"spec":{"host":"${HOSTNAME_HTTPS}","to":{"name":"secure-${APPLICATION_NAME}"},"tls":{"termination":"passthrough"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"forcePull":true,"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"jboss-eap64-openshift:1.2"}}},"output":{"to":{"kind":"ImageStreamTag","name":"${APPLICATION_NAME}:latest"}},"triggers":[{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}},{"type":"ImageChange","imageChange":{}},{"type":"ConfigChange"}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}"],"from":{"kind":"ImageStream","name":"${APPLICATION_NAME}"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}"},"template":{"metadata":{"name":"${APPLICATION_NAME}","labels":{"deploymentConfig":"${APPLICATION_NAME}","application":"${APPLICATION_NAME}"}},"spec":{"serviceAccount":"eap-service-account","terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}","image":"${APPLICATION_NAME}","imagePullPolicy":"Always","volumeMounts":[{"name":"eap-keystore-volume","mountPath":"/etc/eap-secret-volume","readOnly":true},{"name":"eap-jgroups-keystore-volume","mountPath":"/etc/jgroups-encrypt-secret-volume","readOnly":true}],"livenessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/livenessProbe.sh"]}},"readinessProbe":{"exec":{"command":["/bin/bash","-c","/opt/eap/bin/readinessProbe.sh"]}},"ports":[{"name":"jolokia","containerPort":8778,"protocol":"TCP"},{"name":"http","containerPort":8080,"protocol":"TCP"},{"name":"https","containerPort":8443,"protocol":"TCP"},{"name":"ping","containerPort":8888,"protocol":"TCP"}],"env":[{"name":"DB_SERVICE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-postgresql=DB"},{"name":"DB_JNDI","value":"${DB_JNDI}"},{"name":"DB_USERNAME","value":"${DB_USERNAME}"},{"name":"DB_PASSWORD","value":"${DB_PASSWORD}"},{"name":"DB_DATABASE","value":"${DB_DATABASE}"},{"name":"TX_DATABASE_PREFIX_MAPPING","value":"${APPLICATION_NAME}-postgresql=DB"},{"name":"DB_MIN_POOL_SIZE","value":"${DB_MIN_POOL_SIZE}"},{"name":"DB_MAX_POOL_SIZE","value":"${DB_MAX_POOL_SIZE}"},{"name":"DB_TX_ISOLATION","value":"${DB_TX_ISOLATION}"},{"name":"OPENSHIFT_KUBE_PING_LABELS","value":"application=${APPLICATION_NAME}"},{"name":"OPENSHIFT_KUBE_PING_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"HTTPS_KEYSTORE_DIR","value":"/etc/eap-secret-volume"},{"name":"HTTPS_KEYSTORE","value":"${HTTPS_KEYSTORE}"},{"name":"HTTPS_NAME","value":"${HTTPS_NAME}"},{"name":"HTTPS_PASSWORD","value":"${HTTPS_PASSWORD}"},{"name":"HORNETQ_CLUSTER_PASSWORD","value":"${HORNETQ_CLUSTER_PASSWORD}"},{"name":"HORNETQ_QUEUES","value":"${HORNETQ_QUEUES}"},{"name":"HORNETQ_TOPICS","value":"${HORNETQ_TOPICS}"},{"name":"JGROUPS_ENCRYPT_SECRET","value":"${JGROUPS_ENCRYPT_SECRET}"},{"name":"JGROUPS_ENCRYPT_KEYSTORE_DIR","value":"/etc/jgroups-encrypt-secret-volume"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","value":"${JGROUPS_ENCRYPT_KEYSTORE}"},{"name":"JGROUPS_ENCRYPT_NAME","value":"${JGROUPS_ENCRYPT_NAME}"},{"name":"JGROUPS_ENCRYPT_PASSWORD","value":"${JGROUPS_ENCRYPT_PASSWORD}"},{"name":"JGROUPS_CLUSTER_PASSWORD","value":"${JGROUPS_CLUSTER_PASSWORD}"}]}],"volumes":[{"name":"eap-keystore-volume","secret":{"secretName":"${HTTPS_SECRET}"}},{"name":"eap-jgroups-keystore-volume","secret":{"secretName":"${JGROUPS_ENCRYPT_SECRET}"}}]}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${APPLICATION_NAME}-postgresql","labels":{"application":"${APPLICATION_NAME}"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["${APPLICATION_NAME}-postgresql"],"from":{"kind":"ImageStreamTag","namespace":"${IMAGE_STREAM_NAMESPACE}","name":"postgresql:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"deploymentConfig":"${APPLICATION_NAME}-postgresql"},"template":{"metadata":{"name":"${APPLICATION_NAME}-postgresql","labels":{"deploymentConfig":"${APPLICATION_NAME}-postgresql","application":"${APPLICATION_NAME}"}},"spec":{"terminationGracePeriodSeconds":60,"containers":[{"name":"${APPLICATION_NAME}-postgresql","image":"postgresql","imagePullPolicy":"Always","ports":[{"containerPort":5432,"protocol":"TCP"}],"env":[{"name":"POSTGRESQL_USER","value":"${DB_USERNAME}"},{"name":"POSTGRESQL_PASSWORD","value":"${DB_PASSWORD}"},{"name":"POSTGRESQL_DATABASE","value":"${DB_DATABASE}"},{"name":"POSTGRESQL_MAX_CONNECTIONS","value":"${POSTGRESQL_MAX_CONNECTIONS}"},{"name":"POSTGRESQL_SHARED_BUFFERS","value":"${POSTGRESQL_SHARED_BUFFERS}"}]}]}}}}],"parameters":[{"name":"APPLICATION_NAME","description":"The name for the application.","value":"eap-app","required":true},{"name":"HOSTNAME_HTTP","description":"Custom hostname for http service route. Leave blank for default hostname, e.g.: \u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"HOSTNAME_HTTPS","description":"Custom hostname for https service route. Leave blank for default hostname, e.g.: secure-\u003capplication-name\u003e-\u003cproject\u003e.\u003cdefault-domain-suffix\u003e"},{"name":"SOURCE_REPOSITORY_URL","description":"Git source URI for application","value":"https://github.com/jboss-openshift/openshift-quickstarts","required":true},{"name":"SOURCE_REPOSITORY_REF","description":"Git branch/tag reference","value":"1.2"},{"name":"CONTEXT_DIR","description":"Path within Git project to build; empty for root project directory.","value":"todolist/todolist-jdbc"},{"name":"DB_JNDI","description":"Database JNDI name used by application to resolve the datasource, e.g. java:/jboss/datasources/postgresql","value":"java:jboss/datasources/TodoListDS"},{"name":"DB_DATABASE","description":"Database name","value":"root","required":true},{"name":"HORNETQ_QUEUES","description":"Queue names"},{"name":"HORNETQ_TOPICS","description":"Topic names"},{"name":"HTTPS_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"HTTPS_KEYSTORE","description":"The name of the keystore file within the secret","value":"keystore.jks"},{"name":"HTTPS_NAME","description":"The name associated with the server certificate"},{"name":"HTTPS_PASSWORD","description":"The password for the keystore and certificate"},{"name":"DB_MIN_POOL_SIZE","description":"Sets xa-pool/min-pool-size for the configured datasource."},{"name":"DB_MAX_POOL_SIZE","description":"Sets xa-pool/max-pool-size for the configured datasource."},{"name":"DB_TX_ISOLATION","description":"Sets transaction-isolation for the configured datasource."},{"name":"POSTGRESQL_MAX_CONNECTIONS","description":"The maximum number of client connections allowed. This also sets the maximum number of prepared transactions."},{"name":"POSTGRESQL_SHARED_BUFFERS","description":"Configures how much memory is dedicated to PostgreSQL for caching data."},{"name":"HORNETQ_CLUSTER_PASSWORD","description":"HornetQ cluster admin password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"DB_USERNAME","description":"Database user name","generate":"expression","from":"user[a-zA-Z0-9]{3}","required":true},{"name":"DB_PASSWORD","description":"Database user password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GITHUB_WEBHOOK_SECRET","description":"GitHub trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"GENERIC_WEBHOOK_SECRET","description":"Generic build trigger secret","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true},{"name":"IMAGE_STREAM_NAMESPACE","description":"Namespace in which the ImageStreams for Red Hat Middleware images are installed. These ImageStreams are normally installed in the openshift namespace. You should only need to modify this if you've installed the ImageStreams in a different namespace/project.","value":"openshift","required":true},{"name":"JGROUPS_ENCRYPT_SECRET","description":"The name of the secret containing the keystore file","value":"eap-app-secret"},{"name":"JGROUPS_ENCRYPT_KEYSTORE","description":"The name of the keystore file within the secret","value":"jgroups.jceks"},{"name":"JGROUPS_ENCRYPT_NAME","description":"The name associated with the server certificate"},{"name":"JGROUPS_ENCRYPT_PASSWORD","description":"The password for the keystore and certificate"},{"name":"JGROUPS_CLUSTER_PASSWORD","description":"JGroups cluster password","generate":"expression","from":"[a-zA-Z0-9]{8}","required":true}],"labels":{"template":"eap64-postgresql-s2i","xpaas":"1.2.0"}},{"metadata":{"name":"jenkins-ephemeral","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/jenkins-ephemeral","uid":"6678d52e-ca8a-11e5-923b-52540013d96e","resourceVersion":"285","creationTimestamp":"2016-02-03T15:25:47Z","annotations":{"description":"Jenkins service, without persistent storage. WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing","iconClass":"icon-jenkins","tags":"instant-app,jenkins"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${JENKINS_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"web","protocol":"TCP","port":8080,"targetPort":8080,"nodePort":0}],"selector":{"name":"${JENKINS_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"}},{"kind":"Route","apiVersion":"v1","metadata":{"name":"jenkins","creationTimestamp":null},"spec":{"to":{"kind":"Service","name":"${JENKINS_SERVICE_NAME}"},"tls":{"termination":"edge","certificate":"-----BEGIN CERTIFICATE-----\nMIIDIjCCAgqgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBoTELMAkGA1UEBhMCVVMx\nCzAJBgNVBAgMAlNDMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkxHDAaBgNVBAoME0Rl\nZmF1bHQgQ29tcGFueSBMdGQxEDAOBgNVBAsMB1Rlc3QgQ0ExGjAYBgNVBAMMEXd3\ndy5leGFtcGxlY2EuY29tMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlQGV4YW1wbGUu\nY29tMB4XDTE1MDExMjE0MTk0MVoXDTE2MDExMjE0MTk0MVowfDEYMBYGA1UEAwwP\nd3d3LmV4YW1wbGUuY29tMQswCQYDVQQIDAJTQzELMAkGA1UEBhMCVVMxIjAgBgkq\nhkiG9w0BCQEWE2V4YW1wbGVAZXhhbXBsZS5jb20xEDAOBgNVBAoMB0V4YW1wbGUx\nEDAOBgNVBAsMB0V4YW1wbGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMrv\ngu6ZTTefNN7jjiZbS/xvQjyXjYMN7oVXv76jbX8gjMOmg9m0xoVZZFAE4XyQDuCm\n47VRx5Qrf/YLXmB2VtCFvB0AhXr5zSeWzPwaAPrjA4ebG+LUo24ziS8KqNxrFs1M\nmNrQUgZyQC6XIe1JHXc9t+JlL5UZyZQC1IfaJulDAgMBAAGjDTALMAkGA1UdEwQC\nMAAwDQYJKoZIhvcNAQEFBQADggEBAFCi7ZlkMnESvzlZCvv82Pq6S46AAOTPXdFd\nTMvrh12E1sdVALF1P1oYFJzG1EiZ5ezOx88fEDTW+Lxb9anw5/KJzwtWcfsupf1m\nV7J0D3qKzw5C1wjzYHh9/Pz7B1D0KthQRATQCfNf8s6bbFLaw/dmiIUhHLtIH5Qc\nyfrejTZbOSP77z8NOWir+BWWgIDDB2//3AkDIQvT20vmkZRhkqSdT7et4NmXOX/j\njhPti4b2Fie0LeuvgaOdKjCpQQNrYthZHXeVlOLRhMTSk3qUczenkKTOhvP7IS9q\n+Dzv5hqgSfvMG392KWh5f8xXfJNs4W5KLbZyl901MeReiLrPH3w=\n-----END CERTIFICATE-----","key":"-----BEGIN PRIVATE KEY-----\nMIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAMrvgu6ZTTefNN7j\njiZbS/xvQjyXjYMN7oVXv76jbX8gjMOmg9m0xoVZZFAE4XyQDuCm47VRx5Qrf/YL\nXmB2VtCFvB0AhXr5zSeWzPwaAPrjA4ebG+LUo24ziS8KqNxrFs1MmNrQUgZyQC6X\nIe1JHXc9t+JlL5UZyZQC1IfaJulDAgMBAAECgYEAnxOjEj/vrLNLMZE1Q9H7PZVF\nWdP/JQVNvQ7tCpZ3ZdjxHwkvf//aQnuxS5yX2Rnf37BS/TZu+TIkK4373CfHomSx\nUTAn2FsLmOJljupgGcoeLx5K5nu7B7rY5L1NHvdpxZ4YjeISrRtEPvRakllENU5y\ngJE8c2eQOx08ZSRE4TkCQQD7dws2/FldqwdjJucYijsJVuUdoTqxP8gWL6bB251q\nelP2/a6W2elqOcWId28560jG9ZS3cuKvnmu/4LG88vZFAkEAzphrH3673oTsHN+d\nuBd5uyrlnGjWjuiMKv2TPITZcWBjB8nJDSvLneHF59MYwejNNEof2tRjgFSdImFH\nmi995wJBAMtPjW6wiqRz0i41VuT9ZgwACJBzOdvzQJfHgSD9qgFb1CU/J/hpSRIM\nkYvrXK9MbvQFvG6x4VuyT1W8mpe1LK0CQAo8VPpffhFdRpF7psXLK/XQ/0VLkG3O\nKburipLyBg/u9ZkaL0Ley5zL5dFBjTV2Qkx367Ic2b0u9AYTCcgi2DsCQQD3zZ7B\nv7BOm7MkylKokY2MduFFXU0Bxg6pfZ7q3rvg8gqhUFbaMStPRYg6myiDiW/JfLhF\nTcFT4touIo7oriFJ\n-----END PRIVATE KEY-----","caCertificate":"-----BEGIN CERTIFICATE-----\nMIIEFzCCAv+gAwIBAgIJALK1iUpF2VQLMA0GCSqGSIb3DQEBBQUAMIGhMQswCQYD\nVQQGEwJVUzELMAkGA1UECAwCU0MxFTATBgNVBAcMDERlZmF1bHQgQ2l0eTEcMBoG\nA1UECgwTRGVmYXVsdCBDb21wYW55IEx0ZDEQMA4GA1UECwwHVGVzdCBDQTEaMBgG\nA1UEAwwRd3d3LmV4YW1wbGVjYS5jb20xIjAgBgkqhkiG9w0BCQEWE2V4YW1wbGVA\nZXhhbXBsZS5jb20wHhcNMTUwMTEyMTQxNTAxWhcNMjUwMTA5MTQxNTAxWjCBoTEL\nMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlNDMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkx\nHDAaBgNVBAoME0RlZmF1bHQgQ29tcGFueSBMdGQxEDAOBgNVBAsMB1Rlc3QgQ0Ex\nGjAYBgNVBAMMEXd3dy5leGFtcGxlY2EuY29tMSIwIAYJKoZIhvcNAQkBFhNleGFt\ncGxlQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nw2rK1J2NMtQj0KDug7g7HRKl5jbf0QMkMKyTU1fBtZ0cCzvsF4CqV11LK4BSVWaK\nrzkaXe99IVJnH8KdOlDl5Dh/+cJ3xdkClSyeUT4zgb6CCBqg78ePp+nN11JKuJlV\nIG1qdJpB1J5O/kCLsGcTf7RS74MtqMFo96446Zvt7YaBhWPz6gDaO/TUzfrNcGLA\nEfHVXkvVWqb3gqXUztZyVex/gtP9FXQ7gxTvJml7UkmT0VAFjtZnCqmFxpLZFZ15\n+qP9O7Q2MpsGUO/4vDAuYrKBeg1ZdPSi8gwqUP2qWsGd9MIWRv3thI2903BczDc7\nr8WaIbm37vYZAS9G56E4+wIDAQABo1AwTjAdBgNVHQ4EFgQUugLrSJshOBk5TSsU\nANs4+SmJUGwwHwYDVR0jBBgwFoAUugLrSJshOBk5TSsUANs4+SmJUGwwDAYDVR0T\nBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaMJ33zAMV4korHo5aPfayV3uHoYZ\n1ChzP3eSsF+FjoscpoNSKs91ZXZF6LquzoNezbfiihK4PYqgwVD2+O0/Ty7UjN4S\nqzFKVR4OS/6lCJ8YncxoFpTntbvjgojf1DEataKFUN196PAANc3yz8cWHF4uvjPv\nWkgFqbIjb+7D1YgglNyovXkRDlRZl0LD1OQ0ZWhd4Ge1qx8mmmanoBeYZ9+DgpFC\nj9tQAbS867yeOryNe7sEOIpXAAqK/DTu0hB6+ySsDfMo4piXCc2aA/eI2DCuw08e\nw17Dz9WnupZjVdwTKzDhFgJZMLDqn37HQnT6EemLFqbcR0VPEnfyhDtZIQ==\n-----END CERTIFICATE-----"}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${JENKINS_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":false,"containerNames":["jenkins"],"from":{"kind":"ImageStreamTag","name":"jenkins:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${JENKINS_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${JENKINS_SERVICE_NAME}"}},"spec":{"containers":[{"name":"jenkins","image":"${JENKINS_IMAGE}","env":[{"name":"JENKINS_PASSWORD","value":"${JENKINS_PASSWORD}"}],"resources":{},"volumeMounts":[{"name":"${JENKINS_SERVICE_NAME}-data","mountPath":"/var/lib/jenkins"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${JENKINS_SERVICE_NAME}-data","emptyDir":{"medium":""}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}}}],"parameters":[{"name":"JENKINS_SERVICE_NAME","description":"Jenkins service name","value":"jenkins"},{"name":"JENKINS_PASSWORD","description":"Password for the Jenkins user","value":"password","generate":"expression"}],"labels":{"template":"jenkins-ephemeral-template"}},{"metadata":{"name":"jenkins-persistent","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/jenkins-persistent","uid":"66f4b80d-ca8a-11e5-923b-52540013d96e","resourceVersion":"286","creationTimestamp":"2016-02-03T15:25:48Z","annotations":{"description":"Jenkins service, with persistent storage.","iconClass":"icon-jenkins","tags":"instant-app,jenkins"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${JENKINS_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"web","protocol":"TCP","port":8080,"targetPort":8080,"nodePort":0}],"selector":{"name":"${JENKINS_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"}},{"kind":"Route","apiVersion":"v1","metadata":{"name":"jenkins","creationTimestamp":null},"spec":{"to":{"kind":"Service","name":"${JENKINS_SERVICE_NAME}"},"tls":{"termination":"edge","certificate":"-----BEGIN CERTIFICATE-----\nMIIDIjCCAgqgAwIBAgIBATANBgkqhkiG9w0BAQUFADCBoTELMAkGA1UEBhMCVVMx\nCzAJBgNVBAgMAlNDMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkxHDAaBgNVBAoME0Rl\nZmF1bHQgQ29tcGFueSBMdGQxEDAOBgNVBAsMB1Rlc3QgQ0ExGjAYBgNVBAMMEXd3\ndy5leGFtcGxlY2EuY29tMSIwIAYJKoZIhvcNAQkBFhNleGFtcGxlQGV4YW1wbGUu\nY29tMB4XDTE1MDExMjE0MTk0MVoXDTE2MDExMjE0MTk0MVowfDEYMBYGA1UEAwwP\nd3d3LmV4YW1wbGUuY29tMQswCQYDVQQIDAJTQzELMAkGA1UEBhMCVVMxIjAgBgkq\nhkiG9w0BCQEWE2V4YW1wbGVAZXhhbXBsZS5jb20xEDAOBgNVBAoMB0V4YW1wbGUx\nEDAOBgNVBAsMB0V4YW1wbGUwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAMrv\ngu6ZTTefNN7jjiZbS/xvQjyXjYMN7oVXv76jbX8gjMOmg9m0xoVZZFAE4XyQDuCm\n47VRx5Qrf/YLXmB2VtCFvB0AhXr5zSeWzPwaAPrjA4ebG+LUo24ziS8KqNxrFs1M\nmNrQUgZyQC6XIe1JHXc9t+JlL5UZyZQC1IfaJulDAgMBAAGjDTALMAkGA1UdEwQC\nMAAwDQYJKoZIhvcNAQEFBQADggEBAFCi7ZlkMnESvzlZCvv82Pq6S46AAOTPXdFd\nTMvrh12E1sdVALF1P1oYFJzG1EiZ5ezOx88fEDTW+Lxb9anw5/KJzwtWcfsupf1m\nV7J0D3qKzw5C1wjzYHh9/Pz7B1D0KthQRATQCfNf8s6bbFLaw/dmiIUhHLtIH5Qc\nyfrejTZbOSP77z8NOWir+BWWgIDDB2//3AkDIQvT20vmkZRhkqSdT7et4NmXOX/j\njhPti4b2Fie0LeuvgaOdKjCpQQNrYthZHXeVlOLRhMTSk3qUczenkKTOhvP7IS9q\n+Dzv5hqgSfvMG392KWh5f8xXfJNs4W5KLbZyl901MeReiLrPH3w=\n-----END CERTIFICATE-----","key":"-----BEGIN PRIVATE KEY-----\nMIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAMrvgu6ZTTefNN7j\njiZbS/xvQjyXjYMN7oVXv76jbX8gjMOmg9m0xoVZZFAE4XyQDuCm47VRx5Qrf/YL\nXmB2VtCFvB0AhXr5zSeWzPwaAPrjA4ebG+LUo24ziS8KqNxrFs1MmNrQUgZyQC6X\nIe1JHXc9t+JlL5UZyZQC1IfaJulDAgMBAAECgYEAnxOjEj/vrLNLMZE1Q9H7PZVF\nWdP/JQVNvQ7tCpZ3ZdjxHwkvf//aQnuxS5yX2Rnf37BS/TZu+TIkK4373CfHomSx\nUTAn2FsLmOJljupgGcoeLx5K5nu7B7rY5L1NHvdpxZ4YjeISrRtEPvRakllENU5y\ngJE8c2eQOx08ZSRE4TkCQQD7dws2/FldqwdjJucYijsJVuUdoTqxP8gWL6bB251q\nelP2/a6W2elqOcWId28560jG9ZS3cuKvnmu/4LG88vZFAkEAzphrH3673oTsHN+d\nuBd5uyrlnGjWjuiMKv2TPITZcWBjB8nJDSvLneHF59MYwejNNEof2tRjgFSdImFH\nmi995wJBAMtPjW6wiqRz0i41VuT9ZgwACJBzOdvzQJfHgSD9qgFb1CU/J/hpSRIM\nkYvrXK9MbvQFvG6x4VuyT1W8mpe1LK0CQAo8VPpffhFdRpF7psXLK/XQ/0VLkG3O\nKburipLyBg/u9ZkaL0Ley5zL5dFBjTV2Qkx367Ic2b0u9AYTCcgi2DsCQQD3zZ7B\nv7BOm7MkylKokY2MduFFXU0Bxg6pfZ7q3rvg8gqhUFbaMStPRYg6myiDiW/JfLhF\nTcFT4touIo7oriFJ\n-----END PRIVATE KEY-----","caCertificate":"-----BEGIN CERTIFICATE-----\nMIIEFzCCAv+gAwIBAgIJALK1iUpF2VQLMA0GCSqGSIb3DQEBBQUAMIGhMQswCQYD\nVQQGEwJVUzELMAkGA1UECAwCU0MxFTATBgNVBAcMDERlZmF1bHQgQ2l0eTEcMBoG\nA1UECgwTRGVmYXVsdCBDb21wYW55IEx0ZDEQMA4GA1UECwwHVGVzdCBDQTEaMBgG\nA1UEAwwRd3d3LmV4YW1wbGVjYS5jb20xIjAgBgkqhkiG9w0BCQEWE2V4YW1wbGVA\nZXhhbXBsZS5jb20wHhcNMTUwMTEyMTQxNTAxWhcNMjUwMTA5MTQxNTAxWjCBoTEL\nMAkGA1UEBhMCVVMxCzAJBgNVBAgMAlNDMRUwEwYDVQQHDAxEZWZhdWx0IENpdHkx\nHDAaBgNVBAoME0RlZmF1bHQgQ29tcGFueSBMdGQxEDAOBgNVBAsMB1Rlc3QgQ0Ex\nGjAYBgNVBAMMEXd3dy5leGFtcGxlY2EuY29tMSIwIAYJKoZIhvcNAQkBFhNleGFt\ncGxlQGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA\nw2rK1J2NMtQj0KDug7g7HRKl5jbf0QMkMKyTU1fBtZ0cCzvsF4CqV11LK4BSVWaK\nrzkaXe99IVJnH8KdOlDl5Dh/+cJ3xdkClSyeUT4zgb6CCBqg78ePp+nN11JKuJlV\nIG1qdJpB1J5O/kCLsGcTf7RS74MtqMFo96446Zvt7YaBhWPz6gDaO/TUzfrNcGLA\nEfHVXkvVWqb3gqXUztZyVex/gtP9FXQ7gxTvJml7UkmT0VAFjtZnCqmFxpLZFZ15\n+qP9O7Q2MpsGUO/4vDAuYrKBeg1ZdPSi8gwqUP2qWsGd9MIWRv3thI2903BczDc7\nr8WaIbm37vYZAS9G56E4+wIDAQABo1AwTjAdBgNVHQ4EFgQUugLrSJshOBk5TSsU\nANs4+SmJUGwwHwYDVR0jBBgwFoAUugLrSJshOBk5TSsUANs4+SmJUGwwDAYDVR0T\nBAUwAwEB/zANBgkqhkiG9w0BAQUFAAOCAQEAaMJ33zAMV4korHo5aPfayV3uHoYZ\n1ChzP3eSsF+FjoscpoNSKs91ZXZF6LquzoNezbfiihK4PYqgwVD2+O0/Ty7UjN4S\nqzFKVR4OS/6lCJ8YncxoFpTntbvjgojf1DEataKFUN196PAANc3yz8cWHF4uvjPv\nWkgFqbIjb+7D1YgglNyovXkRDlRZl0LD1OQ0ZWhd4Ge1qx8mmmanoBeYZ9+DgpFC\nj9tQAbS867yeOryNe7sEOIpXAAqK/DTu0hB6+ySsDfMo4piXCc2aA/eI2DCuw08e\nw17Dz9WnupZjVdwTKzDhFgJZMLDqn37HQnT6EemLFqbcR0VPEnfyhDtZIQ==\n-----END CERTIFICATE-----"}}},{"kind":"PersistentVolumeClaim","apiVersion":"v1","metadata":{"name":"${JENKINS_SERVICE_NAME}"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${JENKINS_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["jenkins"],"from":{"kind":"ImageStreamTag","name":"jenkins:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${JENKINS_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${JENKINS_SERVICE_NAME}"}},"spec":{"containers":[{"name":"jenkins","image":"${JENKINS_IMAGE}","env":[{"name":"JENKINS_PASSWORD","value":"${JENKINS_PASSWORD}"}],"resources":{},"volumeMounts":[{"name":"${JENKINS_SERVICE_NAME}-data","mountPath":"/var/lib/jenkins"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${JENKINS_SERVICE_NAME}-data","persistentVolumeClaim":{"claimName":"${JENKINS_SERVICE_NAME}"}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}}}],"parameters":[{"name":"JENKINS_SERVICE_NAME","description":"Jenkins service name","value":"jenkins"},{"name":"JENKINS_PASSWORD","description":"Password for the Jenkins user","value":"password","generate":"expression"},{"name":"VOLUME_CAPACITY","description":"Volume space available for data, e.g. 512Mi, 2Gi","value":"512Mi","required":true}],"labels":{"template":"jenkins-persistent-template"}},{"metadata":{"name":"mongodb-ephemeral","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/mongodb-ephemeral","uid":"640d3d90-ca8a-11e5-923b-52540013d96e","resourceVersion":"273","creationTimestamp":"2016-02-03T15:25:43Z","annotations":{"description":"MongoDB database service, without persistent storage. WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing","iconClass":"icon-mongodb","tags":"database,mongodb"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"mongo","protocol":"TCP","port":27017,"targetPort":27017,"nodePort":0}],"selector":{"name":"${DATABASE_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":false,"containerNames":["mongodb"],"from":{"kind":"ImageStreamTag","name":"mongodb:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"mongodb","image":"mongodb","readinessProbe":{"tcpSocket":{"port":27017},"initialDelaySeconds":15,"timeoutSeconds":1},"ports":[{"containerPort":27017,"protocol":"TCP"}],"env":[{"name":"MONGODB_USER","value":"${MONGODB_USER}"},{"name":"MONGODB_PASSWORD","value":"${MONGODB_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${MONGODB_DATABASE}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${MONGODB_ADMIN_PASSWORD}"}],"resources":{},"volumeMounts":[{"name":"${DATABASE_SERVICE_NAME}-data","mountPath":"/var/lib/mongodb/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${DATABASE_SERVICE_NAME}-data","emptyDir":{"medium":""}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}},"status":{}}],"parameters":[{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"mongodb","required":true},{"name":"MONGODB_USER","description":"Username for MongoDB user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}","required":true},{"name":"MONGODB_PASSWORD","description":"Password for the MongoDB user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"MONGODB_DATABASE","description":"Database name","value":"sampledb","required":true},{"name":"MONGODB_ADMIN_PASSWORD","description":"Password for the database admin user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true}],"labels":{"template":"mongodb-ephemeral-template"}},{"metadata":{"name":"mongodb-persistent","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/mongodb-persistent","uid":"646b248e-ca8a-11e5-923b-52540013d96e","resourceVersion":"274","creationTimestamp":"2016-02-03T15:25:44Z","annotations":{"description":"MongoDB database service, with persistent storage. Scaling to more than one replica is not supported","iconClass":"icon-mongodb","tags":"database,mongodb"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"mongo","protocol":"TCP","port":27017,"targetPort":27017,"nodePort":0}],"selector":{"name":"${DATABASE_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"kind":"PersistentVolumeClaim","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["mongodb"],"from":{"kind":"ImageStreamTag","name":"mongodb:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"mongodb","image":"mongodb","readinessProbe":{"tcpSocket":{"port":27017},"initialDelaySeconds":15,"timeoutSeconds":1},"ports":[{"containerPort":27017,"protocol":"TCP"}],"env":[{"name":"MONGODB_USER","value":"${MONGODB_USER}"},{"name":"MONGODB_PASSWORD","value":"${MONGODB_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${MONGODB_DATABASE}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${MONGODB_ADMIN_PASSWORD}"}],"resources":{},"volumeMounts":[{"name":"${DATABASE_SERVICE_NAME}-data","mountPath":"/var/lib/mongodb/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${DATABASE_SERVICE_NAME}-data","persistentVolumeClaim":{"claimName":"${DATABASE_SERVICE_NAME}"}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}},"status":{}}],"parameters":[{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"mongodb","required":true},{"name":"MONGODB_USER","description":"Username for MongoDB user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}","required":true},{"name":"MONGODB_PASSWORD","description":"Password for the MongoDB user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"MONGODB_DATABASE","description":"Database name","value":"sampledb","required":true},{"name":"MONGODB_ADMIN_PASSWORD","description":"Password for the database admin user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"VOLUME_CAPACITY","description":"Volume space available for data, e.g. 512Mi, 2Gi","value":"512Mi","required":true}],"labels":{"template":"mongodb-persistent-template"}},{"metadata":{"name":"mysql-ephemeral","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/mysql-ephemeral","uid":"64c683e9-ca8a-11e5-923b-52540013d96e","resourceVersion":"277","creationTimestamp":"2016-02-03T15:25:44Z","annotations":{"description":"MySQL database service, without persistent storage. WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing","iconClass":"icon-mysql-database","tags":"database,mysql"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"mysql","protocol":"TCP","port":3306,"targetPort":3306,"nodePort":0}],"selector":{"name":"${DATABASE_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":false,"containerNames":["mysql"],"from":{"kind":"ImageStreamTag","name":"mysql:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"mysql","image":"mysql","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"${MYSQL_USER}"},{"name":"MYSQL_PASSWORD","value":"${MYSQL_PASSWORD}"},{"name":"MYSQL_DATABASE","value":"${MYSQL_DATABASE}"}],"resources":{},"volumeMounts":[{"name":"${DATABASE_SERVICE_NAME}-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${DATABASE_SERVICE_NAME}-data","emptyDir":{"medium":""}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}},"status":{}}],"parameters":[{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"mysql","required":true},{"name":"MYSQL_USER","description":"Username for MySQL user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}","required":true},{"name":"MYSQL_PASSWORD","description":"Password for the MySQL user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"MYSQL_DATABASE","description":"Database name","value":"sampledb","required":true}],"labels":{"template":"mysql-ephemeral-template"}},{"metadata":{"name":"mysql-persistent","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/mysql-persistent","uid":"65232a88-ca8a-11e5-923b-52540013d96e","resourceVersion":"278","creationTimestamp":"2016-02-03T15:25:45Z","annotations":{"description":"MySQL database service, with persistent storage. Scaling to more than one replica is not supported","iconClass":"icon-mysql-database","tags":"database,mysql"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"mysql","protocol":"TCP","port":3306,"targetPort":3306,"nodePort":0}],"selector":{"name":"${DATABASE_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"kind":"PersistentVolumeClaim","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["mysql"],"from":{"kind":"ImageStreamTag","name":"mysql:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"mysql","image":"mysql","ports":[{"containerPort":3306,"protocol":"TCP"}],"env":[{"name":"MYSQL_USER","value":"${MYSQL_USER}"},{"name":"MYSQL_PASSWORD","value":"${MYSQL_PASSWORD}"},{"name":"MYSQL_DATABASE","value":"${MYSQL_DATABASE}"}],"resources":{},"volumeMounts":[{"name":"${DATABASE_SERVICE_NAME}-data","mountPath":"/var/lib/mysql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${DATABASE_SERVICE_NAME}-data","persistentVolumeClaim":{"claimName":"${DATABASE_SERVICE_NAME}"}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}},"status":{}}],"parameters":[{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"mysql","required":true},{"name":"MYSQL_USER","description":"Username for MySQL user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}","required":true},{"name":"MYSQL_PASSWORD","description":"Password for the MySQL user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"MYSQL_DATABASE","description":"Database name","value":"sampledb","required":true},{"name":"VOLUME_CAPACITY","description":"Volume space available for data, e.g. 512Mi, 2Gi","value":"512Mi","required":true}],"labels":{"template":"mysql-persistent-template"}},{"metadata":{"name":"nodejs-example","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/nodejs-example","uid":"67de7ce7-ca8a-11e5-923b-52540013d96e","resourceVersion":"291","creationTimestamp":"2016-02-03T15:25:50Z","annotations":{"description":"An example Node.js application with no database","iconClass":"icon-nodejs","tags":"instant-app,nodejs"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"nodejs-example","annotations":{"description":"Exposes and load balances the application pods"}},"spec":{"ports":[{"name":"web","port":8080,"targetPort":8080}],"selector":{"name":"nodejs-example"}}},{"kind":"Route","apiVersion":"v1","metadata":{"name":"nodejs-example"},"spec":{"host":"${APPLICATION_DOMAIN}","to":{"kind":"Service","name":"nodejs-example"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"nodejs-example","annotations":{"description":"Keeps track of changes in the application image"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"nodejs-example","annotations":{"description":"Defines how to build the application"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"from":{"kind":"ImageStreamTag","namespace":"openshift","name":"nodejs:0.10"}}},"output":{"to":{"kind":"ImageStreamTag","name":"nodejs-example:latest"}},"triggers":[{"type":"ImageChange"},{"type":"ConfigChange"},{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"nodejs-example","annotations":{"description":"Defines how to deploy the application server"}},"spec":{"strategy":{"type":"Rolling"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["nodejs-example"],"from":{"kind":"ImageStreamTag","name":"nodejs-example:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"nodejs-example"},"template":{"metadata":{"name":"nodejs-example","labels":{"name":"nodejs-example"}},"spec":{"containers":[{"name":"nodejs-example","image":"nodejs-example","ports":[{"containerPort":8080}],"env":[{"name":"DATABASE_SERVICE_NAME","value":"${DATABASE_SERVICE_NAME}"},{"name":"MONGODB_USER","value":"${MONGODB_USER}"},{"name":"MONGODB_PASSWORD","value":"${MONGODB_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${MONGODB_DATABASE}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${MONGODB_ADMIN_PASSWORD}"}]}]}}}}],"parameters":[{"name":"SOURCE_REPOSITORY_URL","description":"The URL of the repository with your application source code","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"SOURCE_REPOSITORY_REF","description":"Set this to a branch name, tag or other ref of your repository if you are not using the default branch"},{"name":"CONTEXT_DIR","description":"Set this to the relative path to your project if it is not in the root of your repository"},{"name":"APPLICATION_DOMAIN","description":"The exposed hostname that will route to the Node.js service, if left blank a value will be defaulted."},{"name":"GITHUB_WEBHOOK_SECRET","description":"A secret string used to configure the GitHub webhook","generate":"expression","from":"[a-zA-Z0-9]{40}"},{"name":"GENERIC_WEBHOOK_SECRET","description":"A secret string used to configure the Generic webhook","generate":"expression","from":"[a-zA-Z0-9]{40}"},{"name":"DATABASE_SERVICE_NAME","description":"Database service name"},{"name":"MONGODB_USER","description":"Username for MongoDB user that will be used for accessing the database"},{"name":"MONGODB_PASSWORD","description":"Password for the MongoDB user"},{"name":"MONGODB_DATABASE","description":"Database name"},{"name":"MONGODB_ADMIN_PASSWORD","description":"Password for the database admin user"}],"labels":{"template":"nodejs-example"}},{"metadata":{"name":"nodejs-mongodb-example","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/nodejs-mongodb-example","uid":"67661718-ca8a-11e5-923b-52540013d96e","resourceVersion":"290","creationTimestamp":"2016-02-03T15:25:49Z","annotations":{"description":"An example Node.js application with a MongoDB database","iconClass":"icon-nodejs","tags":"instant-app,nodejs,mongodb"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"nodejs-mongodb-example","annotations":{"description":"Exposes and load balances the application pods"}},"spec":{"ports":[{"name":"web","port":8080,"targetPort":8080}],"selector":{"name":"nodejs-mongodb-example"}}},{"kind":"Route","apiVersion":"v1","metadata":{"name":"nodejs-mongodb-example"},"spec":{"host":"${APPLICATION_DOMAIN}","to":{"kind":"Service","name":"nodejs-mongodb-example"}}},{"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"nodejs-mongodb-example","annotations":{"description":"Keeps track of changes in the application image"}}},{"kind":"BuildConfig","apiVersion":"v1","metadata":{"name":"nodejs-mongodb-example","annotations":{"description":"Defines how to build the application"}},"spec":{"source":{"type":"Git","git":{"uri":"${SOURCE_REPOSITORY_URL}","ref":"${SOURCE_REPOSITORY_REF}"},"contextDir":"${CONTEXT_DIR}"},"strategy":{"type":"Source","sourceStrategy":{"from":{"kind":"ImageStreamTag","namespace":"openshift","name":"nodejs:0.10"}}},"output":{"to":{"kind":"ImageStreamTag","name":"nodejs-mongodb-example:latest"}},"triggers":[{"type":"ImageChange"},{"type":"ConfigChange"},{"type":"GitHub","github":{"secret":"${GITHUB_WEBHOOK_SECRET}"}},{"type":"Generic","generic":{"secret":"${GENERIC_WEBHOOK_SECRET}"}}]}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"nodejs-mongodb-example","annotations":{"description":"Defines how to deploy the application server"}},"spec":{"strategy":{"type":"Rolling"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["nodejs-mongodb-example"],"from":{"kind":"ImageStreamTag","name":"nodejs-mongodb-example:latest"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"nodejs-mongodb-example"},"template":{"metadata":{"name":"nodejs-mongodb-example","labels":{"name":"nodejs-mongodb-example"}},"spec":{"containers":[{"name":"nodejs-mongodb-example","image":"nodejs-mongodb-example","ports":[{"containerPort":8080}],"env":[{"name":"DATABASE_SERVICE_NAME","value":"${DATABASE_SERVICE_NAME}"},{"name":"MONGODB_USER","value":"${DATABASE_USER}"},{"name":"MONGODB_PASSWORD","value":"${DATABASE_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${DATABASE_NAME}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${DATABASE_ADMIN_PASSWORD}"}]}]}}}},{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","annotations":{"description":"Exposes the database server"}},"spec":{"ports":[{"name":"mongodb","port":27017,"targetPort":27017}],"selector":{"name":"${DATABASE_SERVICE_NAME}"}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","annotations":{"description":"Defines how to deploy the database"}},"spec":{"strategy":{"type":"Recreate"},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":false,"containerNames":["mongodb"],"from":{"kind":"ImageStreamTag","namespace":"openshift","name":"mongodb:2.6"}}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"name":"${DATABASE_SERVICE_NAME}","labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"mongodb","image":"mongodb","ports":[{"containerPort":27017}],"env":[{"name":"MONGODB_USER","value":"${DATABASE_USER}"},{"name":"MONGODB_PASSWORD","value":"${DATABASE_PASSWORD}"},{"name":"MONGODB_DATABASE","value":"${DATABASE_NAME}"},{"name":"MONGODB_ADMIN_PASSWORD","value":"${DATABASE_ADMIN_PASSWORD}"}]}]}}}}],"parameters":[{"name":"SOURCE_REPOSITORY_URL","description":"The URL of the repository with your application source code","value":"https://github.com/openshift/nodejs-ex.git"},{"name":"SOURCE_REPOSITORY_REF","description":"Set this to a branch name, tag or other ref of your repository if you are not using the default branch"},{"name":"CONTEXT_DIR","description":"Set this to the relative path to your project if it is not in the root of your repository"},{"name":"APPLICATION_DOMAIN","description":"The exposed hostname that will route to the Node.js service, if left blank a value will be defaulted."},{"name":"GITHUB_WEBHOOK_SECRET","description":"A secret string used to configure the GitHub webhook","generate":"expression","from":"[a-zA-Z0-9]{40}"},{"name":"GENERIC_WEBHOOK_SECRET","description":"A secret string used to configure the Generic webhook","generate":"expression","from":"[a-zA-Z0-9]{40}"},{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"mongodb"},{"name":"DATABASE_USER","description":"Username for MongoDB user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}"},{"name":"DATABASE_PASSWORD","description":"Password for the MongoDB user","generate":"expression","from":"[a-zA-Z0-9]{16}"},{"name":"DATABASE_NAME","description":"Database name","value":"sampledb"},{"name":"DATABASE_ADMIN_PASSWORD","description":"Password for the database admin user","generate":"expression","from":"[a-zA-Z0-9]{16}"}],"labels":{"template":"nodejs-mongodb-example"}},{"metadata":{"name":"postgresql-ephemeral","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/postgresql-ephemeral","uid":"65821916-ca8a-11e5-923b-52540013d96e","resourceVersion":"279","creationTimestamp":"2016-02-03T15:25:46Z","annotations":{"description":"PostgreSQL database service, without persistent storage. WARNING: Any data stored will be lost upon pod destruction. Only use this template for testing","iconClass":"icon-postgresql","tags":"database,postgresql"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"postgresql","protocol":"TCP","port":5432,"targetPort":5432,"nodePort":0}],"selector":{"name":"${DATABASE_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":false,"containerNames":["postgresql"],"from":{"kind":"ImageStreamTag","name":"postgresql:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"postgresql","image":"postgresql","ports":[{"containerPort":5432,"protocol":"TCP"}],"env":[{"name":"POSTGRESQL_USER","value":"${POSTGRESQL_USER}"},{"name":"POSTGRESQL_PASSWORD","value":"${POSTGRESQL_PASSWORD}"},{"name":"POSTGRESQL_DATABASE","value":"${POSTGRESQL_DATABASE}"}],"resources":{},"volumeMounts":[{"name":"${DATABASE_SERVICE_NAME}-data","mountPath":"/var/lib/pgsql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${DATABASE_SERVICE_NAME}-data","emptyDir":{"medium":""}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}},"status":{}}],"parameters":[{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"postgresql","required":true},{"name":"POSTGRESQL_USER","description":"Username for PostgreSQL user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}","required":true},{"name":"POSTGRESQL_PASSWORD","description":"Password for the PostgreSQL user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"POSTGRESQL_DATABASE","description":"Database name","value":"sampledb","required":true}],"labels":{"template":"postgresql-ephemeral-template"}},{"metadata":{"name":"postgresql-persistent","namespace":"openshift","selfLink":"/oapi/v1/namespaces/openshift/templates/postgresql-persistent","uid":"65ef541d-ca8a-11e5-923b-52540013d96e","resourceVersion":"283","creationTimestamp":"2016-02-03T15:25:46Z","annotations":{"description":"PostgreSQL database service, with persistent storage. Scaling to more than one replica is not supported","iconClass":"icon-postgresql","tags":"database,postgresql"}},"objects":[{"kind":"Service","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"ports":[{"name":"postgresql","protocol":"TCP","port":5432,"targetPort":5432,"nodePort":0}],"selector":{"name":"${DATABASE_SERVICE_NAME}"},"portalIP":"","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}},{"kind":"PersistentVolumeClaim","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"${VOLUME_CAPACITY}"}}}},{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"${DATABASE_SERVICE_NAME}","creationTimestamp":null},"spec":{"strategy":{"type":"Recreate","resources":{}},"triggers":[{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["postgresql"],"from":{"kind":"ImageStreamTag","name":"postgresql:latest","namespace":"openshift"},"lastTriggeredImage":""}},{"type":"ConfigChange"}],"replicas":1,"selector":{"name":"${DATABASE_SERVICE_NAME}"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"${DATABASE_SERVICE_NAME}"}},"spec":{"containers":[{"name":"postgresql","image":"postgresql","ports":[{"containerPort":5432,"protocol":"TCP"}],"env":[{"name":"POSTGRESQL_USER","value":"${POSTGRESQL_USER}"},{"name":"POSTGRESQL_PASSWORD","value":"${POSTGRESQL_PASSWORD}"},{"name":"POSTGRESQL_DATABASE","value":"${POSTGRESQL_DATABASE}"}],"resources":{},"volumeMounts":[{"name":"${DATABASE_SERVICE_NAME}-data","mountPath":"/var/lib/pgsql/data"}],"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent","capabilities":{},"securityContext":{"capabilities":{},"privileged":false}}],"volumes":[{"name":"${DATABASE_SERVICE_NAME}-data","persistentVolumeClaim":{"claimName":"${DATABASE_SERVICE_NAME}"}}],"restartPolicy":"Always","dnsPolicy":"ClusterFirst"}}},"status":{}}],"parameters":[{"name":"DATABASE_SERVICE_NAME","description":"Database service name","value":"postgresql","required":true},{"name":"POSTGRESQL_USER","description":"Username for PostgreSQL user that will be used for accessing the database","generate":"expression","from":"user[A-Z0-9]{3}","required":true},{"name":"POSTGRESQL_PASSWORD","description":"Password for the PostgreSQL user","generate":"expression","from":"[a-zA-Z0-9]{16}","required":true},{"name":"POSTGRESQL_DATABASE","description":"Database name","value":"sampledb","required":true},{"name":"VOLUME_CAPACITY","description":"Volume space available for data, e.g. 512Mi, 2Gi","value":"512Mi","required":true}],"labels":{"template":"postgresql-persistent-template"}}]}
I0223 17:35:54.127372 68173 componentresolvers.go:126] Errors occurred during resolution: []error{errors.aggregate{(*errors.errorString)(0x20a1e5d50)}}
I0223 17:35:54.127447 68173 dockerimagelookup.go:175] checking Docker registry for "kubernetes/guestbook", allow-insecure=false
I0223 17:35:54.127798 68173 debugging.go:99] GET https://registry-1.docker.io/v2/
I0223 17:35:54.127815 68173 debugging.go:106] Request Headers:
I0223 17:35:54.440099 68173 debugging.go:124] Response Status: 401 Unauthorized in 312 milliseconds
I0223 17:35:54.440127 68173 debugging.go:127] Response Headers:
I0223 17:35:54.440132 68173 debugging.go:130] Strict-Transport-Security: max-age=31536000
I0223 17:35:54.440136 68173 debugging.go:130] Content-Type: application/json; charset=utf-8
I0223 17:35:54.440140 68173 debugging.go:130] Docker-Distribution-Api-Version: registry/2.0
I0223 17:35:54.440145 68173 debugging.go:130] Www-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io"
I0223 17:35:54.440149 68173 debugging.go:130] Date: Tue, 23 Feb 2016 22:35:54 GMT
I0223 17:35:54.440153 68173 debugging.go:130] Content-Length: 114
I0223 17:35:54.440172 68173 client.go:320] Found registry v2 API at https://registry-1.docker.io/v2/
I0223 17:35:54.440529 68173 debugging.go:99] GET https://registry-1.docker.io/v2/kubernetes/guestbook/manifests/latest
I0223 17:35:54.440541 68173 debugging.go:106] Request Headers:
I0223 17:35:54.594926 68173 debugging.go:124] Response Status: 401 Unauthorized in 154 milliseconds
I0223 17:35:54.594955 68173 debugging.go:127] Response Headers:
I0223 17:35:54.594964 68173 debugging.go:130] Docker-Distribution-Api-Version: registry/2.0
I0223 17:35:54.594971 68173 debugging.go:130] Www-Authenticate: Bearer realm="https://auth.docker.io/token",service="registry.docker.io",scope="repository:kubernetes/guestbook:pull"
I0223 17:35:54.594979 68173 debugging.go:130] Date: Tue, 23 Feb 2016 22:35:54 GMT
I0223 17:35:54.594986 68173 debugging.go:130] Content-Length: 179
I0223 17:35:54.594992 68173 debugging.go:130] Strict-Transport-Security: max-age=31536000
I0223 17:35:54.594999 68173 debugging.go:130] Content-Type: application/json; charset=utf-8
I0223 17:35:54.595076 68173 debugging.go:99] GET https://auth.docker.io/token?scope=repository%3Akubernetes%2Fguestbook%3Apull&service=registry.docker.io
I0223 17:35:54.595087 68173 debugging.go:106] Request Headers:
I0223 17:35:54.947054 68173 debugging.go:124] Response Status: 200 OK in 351 milliseconds
I0223 17:35:54.947084 68173 debugging.go:127] Response Headers:
I0223 17:35:54.947092 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:54.947097 68173 debugging.go:130] Date: Tue, 23 Feb 2016 22:35:54 GMT
I0223 17:35:54.947101 68173 debugging.go:130] Content-Length: 1451
I0223 17:35:54.947105 68173 debugging.go:130] Strict-Transport-Security: max-age=31536000
I0223 17:35:54.947265 68173 debugging.go:99] GET https://registry-1.docker.io/v2/kubernetes/guestbook/manifests/latest
I0223 17:35:54.947278 68173 debugging.go:106] Request Headers:
I0223 17:35:54.947284 68173 debugging.go:109] Authorization: Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCIsIng1YyI6WyJNSUlDTHpDQ0FkU2dBd0lCQWdJQkFEQUtCZ2dxaGtqT1BRUURBakJHTVVRd1FnWURWUVFERXp0Uk5Gb3pPa2RYTjBrNldGUlFSRHBJVFRSUk9rOVVWRmc2TmtGRlF6cFNUVE5ET2tGU01rTTZUMFkzTnpwQ1ZrVkJPa2xHUlVrNlExazFTekFlRncweE5UQTJNalV4T1RVMU5EWmFGdzB4TmpBMk1qUXhPVFUxTkRaYU1FWXhSREJDQmdOVkJBTVRPMGhHU1UwNldGZFZWam8yUVZkSU9sWlpUVEk2TTFnMVREcFNWREkxT2s5VFNrbzZTMVExUmpwWVRsSklPbFJMTmtnNlMxUkxOanBCUVV0VU1Ga3dFd1lIS29aSXpqMENBUVlJS29aSXpqMERBUWNEUWdBRXl2UzIvdEI3T3JlMkVxcGRDeFdtS1NqV1N2VmJ2TWUrWGVFTUNVMDByQjI0akNiUVhreFdmOSs0MUxQMlZNQ29BK0RMRkIwVjBGZGdwajlOWU5rL2pxT0JzakNCcnpBT0JnTlZIUThCQWY4RUJBTUNBSUF3RHdZRFZSMGxCQWd3QmdZRVZSMGxBREJFQmdOVkhRNEVQUVE3U0VaSlRUcFlWMVZXT2paQlYwZzZWbGxOTWpveldEVk1PbEpVTWpVNlQxTktTanBMVkRWR09saE9Va2c2VkVzMlNEcExWRXMyT2tGQlMxUXdSZ1lEVlIwakJEOHdQWUE3VVRSYU16cEhWemRKT2xoVVVFUTZTRTAwVVRwUFZGUllPalpCUlVNNlVrMHpRenBCVWpKRE9rOUdOemM2UWxaRlFUcEpSa1ZKT2tOWk5Vc3dDZ1lJS29aSXpqMEVBd0lEU1FBd1JnSWhBTXZiT2h4cHhrTktqSDRhMFBNS0lFdXRmTjZtRDFvMWs4ZEJOVGxuWVFudkFpRUF0YVJGSGJSR2o4ZlVSSzZ4UVJHRURvQm1ZZ3dZelR3Z3BMaGJBZzNOUmFvPSJdfQ.eyJhY2Nlc3MiOlt7InR5cGUiOiJyZXBvc2l0b3J5IiwibmFtZSI6Imt1YmVybmV0ZXMvZ3Vlc3Rib29rIiwiYWN0aW9ucyI6WyJwdWxsIl19XSwiYXVkIjoicmVnaXN0cnkuZG9ja2VyLmlvIiwiZXhwIjoxNDU2MjY3MjU0LCJpYXQiOjE0NTYyNjY5NTQsImlzcyI6ImF1dGguZG9ja2VyLmlvIiwianRpIjoiMkZZWV9zaEpRU2RrMmxIUGRCcUciLCJuYmYiOjE0NTYyNjY5NTQsInN1YiI6IiJ9.03v3V2fYShgF-uCx2rsyirio5zPa2F3aDpANqQpYO48tOQqE9Fe4btTMcAPUGab6_KAY6NvSf9_P9ZqFuyFF-A
I0223 17:35:55.410142 68173 debugging.go:124] Response Status: 200 OK in 462 milliseconds
I0223 17:35:55.410170 68173 debugging.go:127] Response Headers:
I0223 17:35:55.410177 68173 debugging.go:130] Content-Length: 21393
I0223 17:35:55.410184 68173 debugging.go:130] Content-Type: application/json; charset=utf-8
I0223 17:35:55.410190 68173 debugging.go:130] Docker-Content-Digest: sha256:a49fe18bb57c8eee16e2002987e041f5ae9b5b70ae7b3d49eb60e5c26b9c6bd0
I0223 17:35:55.410196 68173 debugging.go:130] Docker-Distribution-Api-Version: registry/2.0
I0223 17:35:55.410202 68173 debugging.go:130] Date: Tue, 23 Feb 2016 22:35:55 GMT
I0223 17:35:55.410217 68173 debugging.go:130] Strict-Transport-Security: max-age=31536000
I0223 17:35:55.444590 68173 dockerimagelookup.go:201] found image: &dockerregistry.Image{Image:docker.Image{ID:"sha256:a49fe18bb57c8eee16e2002987e041f5ae9b5b70ae7b3d49eb60e5c26b9c6bd0", Parent:"47f14b7ce740136caeb04a76bf6281b2ab48b1563c2a06be770f684cc3a03c05", Comment:"", Created:time.Time{sec:63549036038, nsec:841790416, loc:(*time.Location)(0x1bfab60)}, Container:"53bb4acaa72972641c6d91a33cd9a4d780b0c157d7d8f5f065e0a0dd0c9de3a4", ContainerConfig:docker.Config{Hostname:"0472aba48a54", Domainname:"", User:"", Memory:0, MemorySwap:0, CPUShares:0, CPUSet:"", AttachStdin:false, AttachStdout:false, AttachStderr:false, PortSpecs:[]string(nil), ExposedPorts:map[docker.Port]struct {}{"3000/tcp":struct {}{}}, Tty:false, OpenStdin:false, StdinOnce:false, Env:[]string{"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}, Cmd:[]string{"/bin/sh", "-c", "#(nop) EXPOSE map[3000/tcp:{}]"}, DNS:[]string(nil), Image:"47f14b7ce740136caeb04a76bf6281b2ab48b1563c2a06be770f684cc3a03c05", Volumes:map[string]struct {}(nil), VolumeDriver:"", VolumesFrom:"", WorkingDir:"/app", MacAddress:"", Entrypoint:[]string(nil), NetworkDisabled:false, SecurityOpts:[]string(nil), OnBuild:[]string{}, Mounts:[]docker.Mount(nil), Labels:map[string]string(nil)}, DockerVersion:"1.2.0", Author:"", Config:(*docker.Config)(0x209fb2ea0), Architecture:"amd64", Size:0, VirtualSize:0}, PullByID:true}
I0223 17:35:55.453540 68173 newapp.go:922] Code []
I0223 17:35:55.453567 68173 newapp.go:923] Components [kubernetes/guestbook]
I0223 17:35:55.453596 68173 newapp.go:611] found group: app.ComponentReferences{(*app.ComponentInput)(0x20a17c990)}
I0223 17:35:55.453612 68173 newapp.go:627] will include "kubernetes/guestbook"
--> Found Docker image a49fe18 (16 months old) from Docker Hub for "kubernetes/guestbook"
* An image stream will be created as "guestbook:latest" that will track this image
* This image will be deployed in deployment config "guestbook"
* Port 3000/tcp will be load balanced by service "guestbook"
--> Creating resources with label app=guestbook ...
I0223 17:35:55.485740 68173 request.go:543] Request Body: {"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"guestbook","creationTimestamp":null,"labels":{"app":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"dockerImageRepository":"kubernetes/guestbook"},"status":{"dockerImageRepository":""}}
I0223 17:35:55.485807 68173 debugging.go:99] POST https://10.1.2.2:8443/oapi/v1/namespaces/guestbook/imagestreams
I0223 17:35:55.485817 68173 debugging.go:106] Request Headers:
I0223 17:35:55.485823 68173 debugging.go:109] User-Agent: oc/v1.1 (darwin/amd64) openshift/1904cc3
I0223 17:35:55.485828 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:55.670095 68173 debugging.go:124] Response Status: 201 Created in 184 milliseconds
I0223 17:35:55.670121 68173 debugging.go:127] Response Headers:
I0223 17:35:55.670129 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:55.670137 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:55 GMT
I0223 17:35:55.670143 68173 debugging.go:130] Content-Length: 500
I0223 17:35:55.670150 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:55.670176 68173 request.go:796] Response Body: {"kind":"ImageStream","apiVersion":"v1","metadata":{"name":"guestbook","namespace":"guestbook","selfLink":"/oapi/v1/namespaces/guestbook/imagestreams/guestbook","uid":"1c942afc-d148-11e5-870f-52540013d96e","resourceVersion":"86270","creationTimestamp":"2016-02-12T05:18:55Z","labels":{"app":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"dockerImageRepository":"kubernetes/guestbook"},"status":{"dockerImageRepository":"172.30.80.211:5000/guestbook/guestbook"}}
ImageStream "guestbook" created
I0223 17:35:55.681802 68173 request.go:543] Request Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"guestbook","creationTimestamp":null,"labels":{"app":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"resources":{}},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["guestbook"],"from":{"kind":"ImageStreamTag","name":"guestbook:latest"}}}],"replicas":1,"selector":{"app":"guestbook","deploymentconfig":"guestbook"},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"guestbook","deploymentconfig":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"containers":[{"name":"guestbook","image":"kubernetes/guestbook","ports":[{"containerPort":3000,"protocol":"TCP"}],"resources":{}}]}}},"status":{}}
I0223 17:35:55.681866 68173 debugging.go:99] POST https://10.1.2.2:8443/oapi/v1/namespaces/guestbook/deploymentconfigs
I0223 17:35:55.681878 68173 debugging.go:106] Request Headers:
I0223 17:35:55.681885 68173 debugging.go:109] User-Agent: oc/v1.1 (darwin/amd64) openshift/1904cc3
I0223 17:35:55.681892 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:55.756121 68173 debugging.go:124] Response Status: 201 Created in 74 milliseconds
I0223 17:35:55.756149 68173 debugging.go:127] Response Headers:
I0223 17:35:55.756156 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:55.756163 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:55.756168 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:55 GMT
I0223 17:35:55.756174 68173 debugging.go:130] Content-Length: 1334
I0223 17:35:55.756201 68173 request.go:796] Response Body: {"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"guestbook","namespace":"guestbook","selfLink":"/oapi/v1/namespaces/guestbook/deploymentconfigs/guestbook","uid":"1c9a1220-d148-11e5-870f-52540013d96e","resourceVersion":"86271","creationTimestamp":"2016-02-12T05:18:55Z","labels":{"app":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[{"type":"ConfigChange"},{"type":"ImageChange","imageChangeParams":{"automatic":true,"containerNames":["guestbook"],"from":{"kind":"ImageStreamTag","name":"guestbook:latest"}}}],"replicas":1,"selector":{"app":"guestbook","deploymentconfig":"guestbook"},"template":{"metadata":{"creationTimestamp":null,"labels":{"app":"guestbook","deploymentconfig":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"containers":[{"name":"guestbook","image":"kubernetes/guestbook","ports":[{"containerPort":3000,"protocol":"TCP"}],"resources":{},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{}}
DeploymentConfig "guestbook" created
I0223 17:35:55.759663 68173 request.go:543] Request Body: {"kind":"Service","apiVersion":"v1","metadata":{"name":"guestbook","creationTimestamp":null,"labels":{"app":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"ports":[{"name":"3000-tcp","protocol":"TCP","port":3000,"targetPort":3000}],"selector":{"app":"guestbook","deploymentconfig":"guestbook"}},"status":{"loadBalancer":{}}}
I0223 17:35:55.759756 68173 debugging.go:99] POST https://10.1.2.2:8443/api/v1/namespaces/guestbook/services
I0223 17:35:55.759765 68173 debugging.go:106] Request Headers:
I0223 17:35:55.759771 68173 debugging.go:109] Authorization: Bearer RK0Dgj4x42z2sGa9eCoyXYsttEMAuPxflxvF55408EM
I0223 17:35:55.759777 68173 debugging.go:109] User-Agent: oc/v1.1.0 (darwin/amd64) kubernetes/4c8e6f4
I0223 17:35:55.865484 68173 debugging.go:124] Response Status: 201 Created in 105 milliseconds
I0223 17:35:55.865513 68173 debugging.go:127] Response Headers:
I0223 17:35:55.865522 68173 debugging.go:130] Cache-Control: no-store
I0223 17:35:55.865529 68173 debugging.go:130] Content-Type: application/json
I0223 17:35:55.865535 68173 debugging.go:130] Date: Fri, 12 Feb 2016 05:18:55 GMT
I0223 17:35:55.865541 68173 debugging.go:130] Content-Length: 633
I0223 17:35:55.865571 68173 request.go:796] Response Body: {"kind":"Service","apiVersion":"v1","metadata":{"name":"guestbook","namespace":"guestbook","selfLink":"/api/v1/namespaces/guestbook/services/guestbook","uid":"1cafed4a-d148-11e5-870f-52540013d96e","resourceVersion":"86273","creationTimestamp":"2016-02-12T05:18:55Z","labels":{"app":"guestbook"},"annotations":{"openshift.io/generated-by":"OpenShiftNewApp"}},"spec":{"ports":[{"name":"3000-tcp","protocol":"TCP","port":3000,"targetPort":3000}],"selector":{"app":"guestbook","deploymentconfig":"guestbook"},"portalIP":"172.30.81.59","clusterIP":"172.30.81.59","type":"ClusterIP","sessionAffinity":"None"},"status":{"loadBalancer":{}}}
Service "guestbook" created
--> Success
Run 'oc status' to view your app.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment