Skip to content

Commit d480691

Browse files
authored
Merge pull request #70359 from kelbrown20/OSDOCS-8989
OSDOCS#8989: Installing OLM on MicroShift
2 parents a01808f + 1402f70 commit d480691

File tree

4 files changed

+63
-0
lines changed

4 files changed

+63
-0
lines changed

microshift_install/microshift-embed-in-rpm-ostree.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ include::modules/microshift-adding-repos-to-image-builder.adoc[leveloffset=+1]
3232

3333
include::modules/microshift-adding-service-to-blueprint.adoc[leveloffset=+1]
3434

35+
include::modules/microshift-adding-olm-to-blueprint.adoc[leveloffset=+1]
36+
37+
[role="_additional-resources"]
38+
.Additional resources
39+
* xref:../microshift_updating/microshift-update-rpms-ostree.adoc[Applying updates on an OSTree system]
40+
3541
include::modules/microshift-ca-adding-bundle.adoc[leveloffset=+1]
3642

3743
include::modules/microshift-ca-adding-bundle-ostree.adoc[leveloffset=+2]

microshift_install/microshift-install-rpm.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ include::modules/microshift-install-rpm-preparing.adoc[leveloffset=+1]
3737

3838
include::modules/microshift-install-rpms.adoc[leveloffset=+1]
3939

40+
include::modules/microshift-install-rpms-olm.adoc[leveloffset=+1]
41+
42+
//TODO: Additional resources section that includes OLM resources when docs are complete
43+
4044
//additional resources for install rpms module
4145
[role="_additional-resources"]
4246
.Additional resources
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// Module included in the following assemblies:
2+
//
3+
// * microshift/microshift-update-rpms-ostree.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="microshift-adding-olm-to-blueprint_{context}"]
7+
== Adding the Operator Lifecycle Manager (OLM) service to a blueprint
8+
9+
When you install {microshift-short}, the Operator Lifecycle Manager (OLM) package is not installed by default. You can add the `microshift-olm` package in the ostree blueprint to enable OLM in {microshift-short}.
10+
11+
. Edit your ostree blueprint by running the following example command:
12+
+
13+
[source,terminal]
14+
[subs="+quotes"]
15+
----
16+
$ vi _<microshift_blueprint.toml>_ <1>
17+
----
18+
<1> Specify the name of the blueprint file you used when adding the MicroShift service.
19+
20+
. Add the following example text to your ostree blueprint:
21+
+
22+
[source,text]
23+
----
24+
[[packages]]
25+
name = "microshift-olm"
26+
version = "*"
27+
----
28+
. To apply the manifest from the package to an active cluster, you must build a new OSTree system then deploy it on the machine. To update your OSTree system, use the instruction's in "Applying updates on an OSTree system"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// Module included in the following assemblies:
2+
//
3+
// microshift/microshift-install-rpm.adoc
4+
5+
:_mod-docs-content-type: PROCEDURE
6+
[id="microshift-installing-with-olm-from-rpm-package_{context}"]
7+
== Installing the Operator Lifecycle Manager (OLM) from an RPM package
8+
9+
When you install {microshift-short}, the Operator Lifecycle Manager (OLM) package is not installed by default. You can install the OLM on your {microshift-short} instance using a RPM package.
10+
11+
.Procedure
12+
13+
. Install the OLM package by running the following command:
14+
+
15+
[source,terminal]
16+
----
17+
$ sudo dnf install microshift-olm
18+
----
19+
20+
. To apply the manifest from the package to an active cluster, run the following command:
21+
+
22+
[source,terminal]
23+
----
24+
$ sudo systemctl restart microshift
25+
----

0 commit comments

Comments
 (0)