-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
7.4.6.GA
-
None
-
False
-
-
False
-
Documentation (Ref Guide, User Guide, etc.)
-
-
-
-
-
1.- Issue description
Chapter 2 instructions are wrongChapter 2. Build and Run a Java Application on the JBoss EAP for OpenShift Image
2 - Fix You should provide all the templates manipulation versus openshift name space
The correct instructions are as follows:
oc new-project eap-demo
oc create secret generic eap7-app-secret --from-file=keystore.jks
oc create -f 1979710_orivat-sup-secret.yaml
oc secrets link default <service-account>-pull-secret --for=pull
oc secrets link builder <service-account>-pull-secret --for=pull
for resource in eap74-amq-persistent-s2i.json eap74-amq-s2i.json eap74-basic-s2i.json eap74-https-s2i.json eap74-sso-s2i.json; do oc -n openshift replace -f https://raw.githubusercontent.com/jboss-container-images/jboss-eap-openshift-templates/eap74/templates/${resource}; done
for resource in eap74-amq-persistent-s2i.json eap74-amq-s2i.json eap74-basic-s2i.json eap74-https-s2i.json eap74-sso-s2i.json; do oc -n openshift apply -f https://raw.githubusercontent.com/jboss-container-images/jboss-eap-openshift-templates/eap74/templates/${resource}; done
oc new-app --template=eap74-basic-s2i -p IMAGE_STREAM_NAMESPACE=openshift -p EAP_IMAGE_NAME=jboss-eap74-openjdk8-openshift:7.4.0 -p EAP_RUNTIME_IMAGE_NAME=jboss-eap74-openjdk8-runtime-openshift:7.4.0 -p SOURCE_REPOSITORY_URL=https://github.com/jboss-developer/jboss-eap-quickstarts -p SOURCE_REPOSITORY_REF=7.4.x -p CONTEXT_DIR=kitchensink
--> Deploying template "openshift/eap74-basic-s2i" to project eap-demo