jbossdemocentral / rhdm7-loan-demo

6 stars 16 forks source link

KIE-Server with CORS support fails #2

Closed dmarrazzo closed 6 years ago

dmarrazzo commented 6 years ago

Running init-openshift.sh in my minishift enviroment yields the following error:

########################################################################
RHDM 7.0 KIE-Server with CORS support...
########################################################################
error: failed to read input object (not a Template?): the path "rhdm70-kieserver-cors.yaml" does not exist
error: no objects passed to create

I fixed changing: ./support/openshift/provision.sh at line 258:

oc process -f ./support/openshift/rhdm70-kieserver-cors.yaml -p DOCKERFILE_REPOSITORY="http://www.github.com/jbossdemocentral/rhdm7-qlb-loan-demo" -p DOCKERFILE_REF="development" -p DOCKERFILE_CONTEXT=support/openshift/rhdm70-kieserver-cors -n ${PRJ[0]} | oc create -n ${PRJ[0]} -f -

I haven't updated because I'm not sure if it could break in other environments.

dmarrazzo commented 6 years ago

reported in wrong repository