Chapter 4. Installing Fuse on OpenShift as a non-admin user You can start using Fuse on OpenShift by creating an application and deploying it to OpenShift. First you need to install Fuse on OpenShift images and templates. 4.1. Installing Fuse on OpenShift images and templates as a non-admin user Prerequisites You have access to OpenShift server. It can be either virtual OpenShift server by CDK or remote OpenShift server. You have configured authentication with registry.redhat.io . For more information see: Authenticating with registry.redhat.io for container images Red Hat CDK 3.17 Getting Started Guide Procedure In preparation for building and deploying the Fuse on OpenShift project, log in to the OpenShift Server as follows. Where, OPENSHIFT_IP_ADDR is a placeholder for the OpenShift server's IP address as this IP address is not always the same. Note The developer user (with developer password) is a standard account that is automatically created on the virtual OpenShift Server by CDK. If you are accessing a remote server, use the URL and credentials provided by your OpenShift administrator. Create a new project namespace called test (assuming it does not already exist). If the test project namespace already exists, switch to it. Install the Fuse on OpenShift image streams: The command output displays the Fuse image streams that are now available in your Fuse on OpenShift project. Install the quickstart templates. Install Spring Boot 2 quickstart templates: Install the templates for the Fuse Console. Note For information on deploying the Fuse Console, see Set up Fuse Console on OpenShift . (Optional) View the installed Fuse on OpenShift images and templates. In your browser, navigate to the OpenShift console: Use https://OPENSHIFT_IP_ADDR:8443 and replace OPENSHIFT_IP_ADDR with your OpenShift server's IP address. Log in to the OpenShift console with your credentials (for example, with username developer and password developer ).

Commands:
login -u developer -p developer https://OPENSHIFT_IP_ADDR:8443
new-project test
project test
BASEURL=https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-7_13_0-00014-redhat-00001 create -n test -f USD{BASEURL}/fis-image-streams.json
for template in eap-camel-amq-template.json eap-camel-cdi-template.json eap-camel-cxf-jaxrs-template.json eap-camel-cxf-jaxws-template.json karaf-camel-amq-template.json karaf-camel-log-template.json karaf-camel-rest-sql-template.json karaf-cxf-rest-template.json ; do oc create -n test -f USD{BASEURL}/quickstarts/USD{template} done
for template in spring-boot-2-camel-amq-template.json spring-boot-2-camel-config-template.json spring-boot-2-camel-drools-template.json spring-boot-2-camel-infinispan-template.json spring-boot-2-camel-rest-3scale-template.json spring-boot-2-camel-rest-sql-template.json spring-boot-2-camel-template.json spring-boot-2-camel-xa-template.json spring-boot-2-camel-xml-template.json spring-boot-2-cxf-jaxrs-template.json spring-boot-2-cxf-jaxws-template.json spring-boot-2-cxf-jaxrs-xml-template.json spring-boot-2-cxf-jaxws-xml-template.json ; do oc create -n openshift -f USD{BASEURL}/quickstarts/USD{template} done
create -n test -f USD{BASEURL}/fis-console-cluster-template.json create -n test -f USD{BASEURL}/fis-console-namespace-template.json
get template -n test