Skip to content

Commit 59fe791

Browse files
Merge pull request #76370 from michaelryanpeter/OSDOCS-10521-remove-plain-bundle-docs
OSDOCS#10521: Remove plain bundle docs (TP)
2 parents 97c42c0 + 73d09b5 commit 59fe791

19 files changed

+21
-145
lines changed

_topic_maps/_topic_map.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,8 +1995,6 @@ Topics:
19951995
File: olmv1-catalogd
19961996
- Name: Installing an Operator from a catalog
19971997
File: olmv1-installing-an-operator-from-a-catalog
1998-
- Name: Managing plain bundles
1999-
File: olmv1-managing-plain-bundles
20001998
---
20011999
Name: CI/CD
20022000
Dir: cicd

modules/olm-rukpak-plain-bundle.adoc renamed to _unused_topics/olm-rukpak-plain-bundle.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ The static manifests must be located in the `manifests/` directory with at least
3535
[IMPORTANT]
3636
====
3737
Do not include any content in the `manifests/` directory of a plain bundle that are not static manifests. Otherwise, a failure will occur when creating content on-cluster from that bundle. Any file that would not successfully apply with the `oc apply` command will result in an error. Multi-object YAML or JSON files are valid, as well.
38-
====
38+
====

modules/olmv1-adding-plain-to-fbc.adoc renamed to _unused_topics/olmv1-adding-plain-to-fbc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ The `opm render` command does not support adding plain bundles to catalogs. You
118118
[source,terminal]
119119
----
120120
$ opm validate <catalog_dir>
121-
----
121+
----

modules/olmv1-building-plain-image.adoc renamed to _unused_topics/olmv1-building-plain-image.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ $ podman build -f plainbundle.Dockerfile -t \
3535
[source,terminal]
3636
----
3737
$ podman push quay.io/<organization_name>/<repository_name>:<image_tag>
38-
----
38+
----

operators/olm_v1/olmv1-managing-plain-bundles.adoc renamed to _unused_topics/olmv1-managing-plain-bundles.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,4 @@ manifests
6969
include::modules/olmv1-building-plain-image.adoc[leveloffset=+1]
7070
include::modules/olmv1-creating-fbc.adoc[leveloffset=+1]
7171
include::modules/olmv1-adding-plain-to-fbc.adoc[leveloffset=+1]
72-
include::modules/olmv1-publishing-fbc.adoc[leveloffset=+1]
72+
include::modules/olmv1-publishing-fbc.adoc[leveloffset=+1]

modules/arch-platform-operators.adoc

Lines changed: 0 additions & 25 deletions
This file was deleted.

modules/olm-rukpak-bd.adoc

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,3 @@ The RukPak `BundleDeployment` API points to a `Bundle` object and indicates that
1616
Much like pods generate instances of container images, a bundle deployment generates a deployed version of a bundle. A bundle deployment can be seen as a generalization of the pod concept.
1717

1818
The specifics of how a bundle deployment makes changes to a cluster based on a referenced bundle is defined by the provisioner that is configured to watch that bundle deployment.
19-
20-
.Example `BundleDeployment` object configured to work with the plain provisioner
21-
[source,yaml]
22-
----
23-
apiVersion: core.rukpak.io/v1alpha1
24-
kind: BundleDeployment
25-
metadata:
26-
name: my-bundle-deployment
27-
spec:
28-
provisionerClassName: core-rukpak-io-plain
29-
template:
30-
metadata:
31-
labels:
32-
app: my-bundle
33-
spec:
34-
source:
35-
type: image
36-
image:
37-
ref: my-bundle@sha256:xyz123
38-
provisionerClassName: core-rukpak-io-plain
39-
----

modules/olm-rukpak-bundle-immutability.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ If this scenario occurs, the new content from step 2 is unpacked as a result of
6565

6666
This is similar to pod behavior, where one of the pod's container images uses a tag, the tag is moved to a different digest, and then at some point in the future the existing pod is rescheduled on a different node. At that point, the node pulls the new image at the new digest and runs something different without the user explicitly asking for it.
6767

68-
To be confident that the underlying `Bundle` spec content does not change, use a digest-based image or a Git commit reference when creating the bundle.
68+
To be confident that the underlying `Bundle` spec content does not change, use a digest-based image or a Git commit reference when creating the bundle.

modules/olm-rukpak-bundle.adoc

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,7 @@ A RukPak `Bundle` object represents content to make available to other consumers
1010

1111
Bundles cannot do anything on their own; they require a provisioner to unpack and make their content available in the cluster. They can be unpacked to any arbitrary storage medium, such as a `tar.gz` file in a directory mounted into the provisioner pods. Each `Bundle` object has an associated `spec.provisionerClassName` field that indicates the `Provisioner` object that watches and unpacks that particular bundle type.
1212

13-
.Example `Bundle` object configured to work with the plain provisioner
14-
[source,yaml]
15-
----
16-
apiVersion: core.rukpak.io/v1alpha1
17-
kind: Bundle
18-
metadata:
19-
name: my-bundle
20-
spec:
21-
source:
22-
type: image
23-
image:
24-
ref: my-bundle@sha256:xyz123
25-
provisionerClassName: core-rukpak-io-plain
26-
----
27-
2813
[NOTE]
2914
====
3015
Bundles are considered immutable after they are created.
31-
====
16+
====

modules/olm-rukpak-provisioner.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
RukPak consists of a series of controllers, known as _provisioners_, that install and manage content on a Kubernetes cluster. RukPak also provides two primary APIs: `Bundle` and `BundleDeployment`. These components work together to bring content onto the cluster and install it, generating resources within the cluster.
1111

12-
Two provisioners are currently implemented and bundled with RukPak: the _plain provisioner_ that sources and unpacks `plain+v0` bundles, and the _registry provisioner_ that sources and unpacks Operator Lifecycle Manager (OLM) `registry+v1` bundles.
12+
Currently, the _registry provisioner_ is implemented and bundled with RukPak. The registry provisioner sources and unpacks Operator Lifecycle Manager (OLM) `registry+v1` bundles.
1313

14-
Each provisioner is assigned a unique ID and is responsible for reconciling `Bundle` and `BundleDeployment` objects with a `spec.provisionerClassName` field that matches that particular ID. For example, the plain provisioner is able to unpack a given `plain+v0` bundle onto a cluster and then instantiate it, making the content of the bundle available in the cluster.
14+
A provisioner is assigned a unique ID and is responsible for reconciling `Bundle` and `BundleDeployment` objects with a `spec.provisionerClassName` field that matches that particular ID. For example, the registry provisioner is able to unpack a given `registry+v1` bundle onto a cluster and then instantiate it, making the content of the bundle available in the cluster.
1515

16-
A provisioner places a watch on both `Bundle` and `BundleDeployment` resources that refer to the provisioner explicitly. For a given bundle, the provisioner unpacks the contents of the `Bundle` resource onto the cluster. Then, given a `BundleDeployment` resource referring to that bundle, the provisioner installs the bundle contents and is responsible for managing the lifecycle of those resources.
16+
A provisioner places a watch on both `Bundle` and `BundleDeployment` resources that refer to the provisioner explicitly. For a given bundle, the provisioner unpacks the contents of the `Bundle` resource onto the cluster. Then, given a `BundleDeployment` resource referring to that bundle, the provisioner installs the bundle contents and is responsible for managing the lifecycle of those resources.

0 commit comments

Comments
 (0)