You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 2, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: content/en/docs/help/bundle.md
+44-73
Original file line number
Diff line number
Diff line change
@@ -13,87 +13,43 @@ weight: 630
13
13
toc: true
14
14
---
15
15
16
-
# Bunding A Bundle and Deploy it into the Operator Lifecycle Manager(OLM)
16
+
# Bundle
17
17
18
-
## About the Operator Lifecycle Manager (OLM)
18
+
## Operator Lifecycle Manager (OLM)
19
+
The [Operator Lifecycle Manager](https://olm.operatorframework.io/) can help users to install and manage operators. The ArtemisCloud operator can be built into a bundle image and installed into OLM.
19
20
20
-
The [Operator Lifecycle Manager](https://olm.operatorframework.io/) can help users to install and manage operators.
21
-
The ArtemisCloud operator can be built into a bundle image and installed into OLM.
21
+
### Install OLM
22
+
Check out the latest [releases on github](https://github.com/operator-framework/operator-lifecycle-manager/releases) for release-specific install instructions.
22
23
23
-
## Building
24
+
## Create a repository
25
+
Create a repository that Kubernetes will uses to pull your catalog image. You can create a public one for free on quay.io, see [how to create a repo](https://docs.quay.io/guides/create-repo.html).
24
26
25
-
### Creating the bundle's manifests/metadata
26
-
27
-
Before you build the bundle image generate the manifests and metadata:
28
-
29
-
```$xslt
30
-
make IMAGE_TAG_BASE=<bundle image registry> OPERATOR_IMAGE_REPO=<operator image registry> OPERATOR_VERSION=<operator tag> bundle
31
-
```
32
-
33
-
### Building the bundle image:
34
-
35
-
```$xslt
36
-
make IMAGE_TAG_BASE=<bundle image registry> bundle-build
37
-
```
38
-
The result image tag takes the form like
39
-
```$xslt
40
-
${IMAGE_TAG_BASE}-bundle:v0.0.1
27
+
## Build a catalog image
28
+
Set your repository in CATALOG_IMG and execute the following command:
41
29
```
42
-
Note: the version v0.0.1 is defined by VERSION variable in the Makefile
43
-
44
-
To push the built bundle image
45
-
46
-
```$xslt
47
-
make IMAGE_TAG_BASE=<bundle image registry> bundle-push
30
+
make CATALOG_IMG=quay.io/my-org/activemq-artemis-operator-index:latest catalog-build
48
31
```
49
32
50
-
### Building the catalog image
51
-
52
-
Now with the bundle image in place, build the catalog(index) iamge:
53
-
54
-
```$xslt
55
-
make IMAGE_TAG_BASE=<bundle image registry> catalog-build
33
+
## Push a catalog image
34
+
Set your repository in CATALOG_IMG and execute the following command:
56
35
```
57
-
The result image tag takes the form like
58
-
```$xslt
59
-
${IMAGE_TAG_BASE}-index:v0.0.1
36
+
make CATALOG_IMG=quay.io/my-org/activemq-artemis-operator-index:latest catalog-push
60
37
```
61
38
62
-
To push the catalog image to repo:
63
-
64
-
```$xslt
65
-
make IMAGE_TAG_BASE=<bundle image registry> catalog-push
66
-
```
67
-
68
-
## Installing operator via OLM (Minikube)
69
-
70
-
### Install olm (If olm is not installed already)
71
-
72
-
Make sure the Minikube is up and running.
73
-
74
-
Use the [operator-sdk tool](https://sdk.operatorframework.io/):
75
-
76
-
```$xslt
77
-
operator-sdk olm install
78
-
```
79
-
It will deploy the latest olm into Minikube.
80
-
81
-
### Create a catalog source (e.g. catalog-source.yaml):
39
+
## Create a catalog source (e.g. catalog-source.yaml):
40
+
Before creating the catalog source, ensure to update the **image** field within the `spec` section with your own built catalog image specified by the `CATALOG_IMG` environment variable.
41
+
For the `CATALOG_IMG`, refer to the [Build a catalog image](#build-a-catalog-image) section.
0 commit comments