Fuse on Openshift installation fails with the certified version's oc client library
Issue
By following the instruction, oc create fails with the certified version's oc client library.
https://access.redhat.com/documentation/en-us/red_hat_fuse/7.11/html/fuse_on_openshift_guide/get-started-admin#install-fuse-on-openshift4
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 openshift -f \
https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-sb2-7_11_0-00020-redhat-00001/quickstarts/${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 \
https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-sb2-7_11_0-00020-redhat-00001/quickstarts/${template}
done
With the oc library comes with 4.11, it fails with the following error.
error: resource mapping not found for name: "s2i-fuse711-spring-boot-2-camel-amq" namespace: "" from "https://raw.githubusercontent.com/jboss-fuse/application-templates/application-templates-2.1.0.fuse-sb2-7_11_0-00020-redhat-00001/quickstarts/spring-boot-2-camel-amq-template.json": no matches for kind "Template" in version "v1"
ensure CRDs are installed first
Environment
- Red Hat Fuse
- 7.11
- OpenShift
- 4.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.