This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/main by this push:
new 136292607 chore(examples): olm installation
136292607 is described below
commit 13629260787fea6a9804f0cbfb46a8a4f0f9c2ac
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Thu Apr 7 10:36:42 2022 +0200
chore(examples): olm installation
---
examples/README.md | 1 +
examples/olm/README.md | 29 +++++++++++++++++++++++++++++
2 files changed, 30 insertions(+)
diff --git a/examples/README.md b/examples/README.md
index b740950c4..91c677bd0 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -41,6 +41,7 @@ As soon as you will learn the basic stuff, you will like to
try the new advanced
|---|---|---|
| Kamelets | How to use
[`Kamelet`s](https://camel.apache.org/camel-k/latest/kamelets/kamelets.html) |
[see examples](./kamelets/)|
| Master | Master support example | [see examples](./master/)|
+| OLM | OPERATOR Lifecycle manager installation example | [see
examples](./olm/)|
| Polyglot | Polyglot integration examples | [see examples](./polyglot/)|
| Pulsar | Pulsar usage | [see examples](./pulsar/)|
| Saga | Saga pattern example | [see examples](./saga/)|
diff --git a/examples/olm/README.md b/examples/olm/README.md
new file mode 100644
index 000000000..8a0977e95
--- /dev/null
+++ b/examples/olm/README.md
@@ -0,0 +1,29 @@
+# OPERATOR Lifecycle manager (OLM) installation
+
+Camel K supports as default an installation procedure in order to get all the
features offered by [OLM](https://olm.operatorframework.io/). We have in place
a default mechanism to discover the presence of OLM installed on your cluster.
+
+NOTE: You can disable the feature by providing the `--olm=false` during the
installation procedure.
+
+## Install on Minikube
+
+An interesting way to test locally the OLM is to use the **Minikube OLM
addon**. If you have a local Minikube, you can proceed with the following steps
to install the OLM:
+
+```
+minikube addons enable olm
+```
+
+As soon as all the resources are installed, you can now proceed by installing
Camel K operator as you used to do, ie:
+
+```
+kamel install --global
+```
+
+In order to verify the installation, you can check the `ClusterServiceVersion`
(CSV) custom resource:
+
+```
+kubectl get csv
+NAME DISPLAY VERSION REPLACES
PHASE
+camel-k-operator.v1.8.2 Camel K Operator 1.8.2 camel-k-operator.v1.8.1
Succeeded
+```
+
+You can now run any integration as you used to do.
\ No newline at end of file