Skip to content

Commit 926c9a3

Browse files
authored
Merge pull request #6 from apupier/fixOpenShiftCase
Fix OpenShift case
2 parents 04037e0 + 0dd4f64 commit 926c9a3

File tree

1 file changed

+12
-11
lines changed

1 file changed

+12
-11
lines changed

documentation/modules/ROOT/pages/03-demo.adoc

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can see a migration based on the templates in action here.
1515
video::8NDm6XbEiJE[youtube, width=800, height=480, start=832]
1616

1717
//* https://drive.google.com/file/d/11CBxNI_2QI77uFeD7Dxqf32uDnAt9cKX/view?usp=drive_link[Migration toward Camel for Spring Boot and Camel extension for Quarkus^]
18-
//* https://drive.google.com/file/d/1DqTrlydgvJiKTe7y6oxuvY8K-SAve9xc/view?usp=drive_link[Running the migrated application on Openshift^]
18+
//* https://drive.google.com/file/d/1DqTrlydgvJiKTe7y6oxuvY8K-SAve9xc/view?usp=drive_link[Running the migrated application on OpenShift^]
1919
//* https://drive.google.com/file/d/11CBxNI_2QI77uFeD7Dxqf32uDnAt9cKX/view?usp=drive_link[Running the migrated application as a Camel K serverless function^]
2020

2121

@@ -82,16 +82,17 @@ For the rest of the document, this location will be referred to as $TARGET +
8282

8383
$ TARGET=./templates/rest/ceq-xml-rest-app
8484

85-
==== Preparing the Openshift cluster
86-
For th deployment to Openshift, you'll just need access to a namespace on an Openshift cluster. +
85+
==== Preparing the OpenShift cluster
86+
For th deployment to OpenShift, you'll just need access to a namespace on an OpenShift cluster. +
8787
Here below, we'll call this namespace 'claimdemo-migration'.
8888

8989
$ oc new-project claimdemo-migration
9090

9191
==== Preparing Camel K (optional)
92-
If you want to test the migrated application as a serverless component, you'll need an Openshift server with Camel K installed. +
93-
Install the Red Hat Camel K Operator to your Openshift cluster.
94-
Optionally you can also deploy the Openshift Serverless (Knative Serving and Knative Eventing) operators. +
92+
If you want to test the migrated application as a serverless component, you'll need an OpenShift server with Camel K installed. +
93+
Install the Red Hat Camel K Operator to your OpenShift cluster.
94+
Optionaly you can also deploy the OpenShift Serverless (Knative Serving and Knative Eventing) operators. +
95+
9596
Make sure you also have the kamel CLI on your local machine, and of the same version as the Camel K Operator. +
9697
For clarity, we'll use a separate namespace for Camel K-related artefacts. Let's call it camel-migration. +
9798

@@ -100,15 +101,15 @@ For clarity, we'll use a separate namespace for Camel K-related artefacts. Let'
100101
Custom beans such as custom Camel processors as considered by Camel K as external dependencies. +
101102
Those dependencies need to be made available to Camel K at deployment/build time. +
102103
The best way to do that is to use an external Maven repository, such as Nexus. +
103-
It can be deployed on or outside of Openshift but needs to be reachable from it.
104+
It can be deployed on or outside of OpenShift but needs to be reachable from it.
104105

105106
Find the prepared Maven settings file:
106107

107108
$ vim ./templates/camelk/script/settings.xml
108109

109110
Edit it, replacing the URL of th 2 repositories (nexus-camel and nexus-camel-snapshots) by the appropriate URL of your own Nexus server.
110111

111-
Create a ConfigMap to hold this settings.xml on Openshift:
112+
Create a ConfigMap to hold this settings.xml on OpenShift:
112113

113114
$ oc create cm camel-k-maven-settings --from-file ./templates/camelk/script/settings.xml -n camel-migration
114115

@@ -203,9 +204,9 @@ You can run it locally for validation with:
203204

204205
$ cd -
205206

206-
==== Running it on Openshift
207-
Thanks to the templates, the migrated application is already fully compatible with Openshift and can safely run immediately in containers. +
208-
To run it and test it on Openshift:
207+
==== Running it on OpenShift
208+
Thanks to the templates, the migrated application is already fully compatible with OpenShift and can safely run immediately in containers. +
209+
To run it and test it on OpenShift:
209210

210211
$ oc project claimdemo-migration
211212
$ cd $TARGET

0 commit comments

Comments
 (0)