Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 83
📖 Improve formatting on the docs website#1446
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -17,10 +17,12 @@ When determining upgrade edges, also known as upgrade paths or upgrade constrain | ||
| By supporting legacy OLM semantics, OLM v1 now honors the upgrade graph from catalogs accurately. | ||
| * If there are multiple possible successors, OLM v1 behavior differs in the following ways: | ||
| * In legacy OLM, the successor closest to the channel head is chosen. | ||
| * In OLM v1, the successor with the highest semantic version (semver) is chosen. | ||
| * Consider the following set of file-based catalog (FBC) channel entries: | ||
| If there are multiple possible successors, OLM v1 behavior differs in the following ways: | ||
| * In legacy OLM, the successor closest to the channel head is chosen. | ||
| * In OLM v1, the successor with the highest semantic version (semver) is chosen. | ||
| Consider the following set of file-based catalog (FBC) channel entries: | ||
| ```yaml | ||
| # ... | ||
| @@ -51,7 +53,7 @@ spec: | ||
| version: "<version_or_version_range>" | ||
| ``` | ||
| where setting the `upgradeConstraintPolicy` to: | ||
| Setting the `upgradeConstraintPolicy` to: | ||
| `SelfCertified` | ||
| : Does not limit the next version to the set of successors, and instead allows for any downgrade, sidegrade, or upgrade. | ||
| @@ -63,8 +65,8 @@ where setting the `upgradeConstraintPolicy` to: | ||
m1kola marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| OLM supports Semver to provide a simplified way for package authors to define compatible upgrades. According to the Semver standard, releases within a major version (e.g. `>=1.0.0 <2.0.0`) must be compatible. As a result, package authors can publish a new package version following the Semver specification, and OLM assumes compatibility. Package authors do not have to explicitly define upgrade edges in the catalog. | ||
| > [!NOTE] | ||
| > Currently, OLM 1.0 does not support automatic upgrades to the next major version. You must manually verify and perform major version upgrades. For more information about major version upgrades, see [Manually verified upgrades and downgrades](#manually-verified-upgrades-and-downgrades). | ||
| !!! note | ||
| Currently, OLM 1.0 does not support automatic upgrades to the next major version. You must manually verify and perform major version upgrades. For more information about major version upgrades, see [Manually verified upgrades and downgrades](#manually-verified-upgrades-and-downgrades). | ||
Comment on lines
-66
to
+69
| ||
| ### Upgrades within the major version zero | ||
| @@ -77,7 +79,8 @@ You must verify and perform upgrades manually in cases where automatic upgrades | ||
| ## Manually verified upgrades and downgrades | ||
| **Warning:** If you want to force an upgrade manually, you must thoroughly verify the outcome before applying any changes to production workloads. Failure to test and verify the upgrade might lead to catastrophic consequences such as data loss. | ||
| !!! warning | ||
| If you want to force an upgrade manually, you must thoroughly verify the outcome before applying any changes to production workloads. Failure to test and verify the upgrade might lead to catastrophic consequences such as data loss. | ||
| As a package admin, if you must upgrade or downgrade to version that might be incompatible with the currently installed version, you can set the `.spec.upgradeConstraintPolicy` field to `SelfCertified` on the relevant `ClusterExtension` resource. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -3,10 +3,10 @@ | ||
| The following `make run` starts a [KIND](https://sigs.k8s.io/kind) cluster for you to get a local cluster for testing, see the manual install steps below for how to run against a remote cluster. | ||
| > [!NOTE] | ||
| > You will need a container runtime environment, like Docker, or experimentally, Podman, installed, to run Kind. | ||
| > | ||
| > If you are on MacOS, see [Special Setup for MacOS](#special-setup-for-macos). | ||
| !!! note | ||
| You will need a container runtime environment, like Docker, or experimentally, Podman, installed, to run Kind. | ||
| If you are on MacOS, see [Special Setup for MacOS](#special-setup-for-macos). | ||
| ### Quickstart Installation | ||
| @@ -20,9 +20,9 @@ This will build a local container image of the operator-controller, create a new | ||
| ### To Install Any Given Release | ||
| > [!CAUTION] | ||
| > Operator-Controller depends on [cert-manager](https://cert-manager.io/). Running the following command | ||
| > may affect an existing installation of cert-manager and cause cluster instability. | ||
| !!! warning | ||
| Operator-Controller depends on [cert-manager](https://cert-manager.io/). Running the following command | ||
| may affect an existing installation of cert-manager and cause cluster instability. | ||
| The latest version of Operator Controller can be installed with the following command: | ||
| @@ -33,21 +33,21 @@ curl -L -s https://github.com/operator-framework/operator-controller/releases/la | ||
| ### Manual Step-by-Step Installation | ||
| 1. Install Instances of Custom Resources: | ||
| ```sh | ||
| kubectl apply -f config/samples/ | ||
| ``` | ||
| ```sh | ||
| kubectl apply -f config/samples/ | ||
| ``` | ||
| 2. Build and push your image to the location specified by `IMG`: | ||
| ```sh | ||
| make docker-build docker-push IMG=<some-registry>/operator-controller:tag | ||
| ``` | ||
| ```sh | ||
| make docker-build docker-push IMG=<some-registry>/operator-controller:tag | ||
| ``` | ||
| 3. Deploy the controller to the cluster with the image specified by `IMG`: | ||
| ```sh | ||
| make deploy IMG=<some-registry>/operator-controller:tag | ||
| ``` | ||
| ```sh | ||
| make deploy IMG=<some-registry>/operator-controller:tag | ||
| ``` | ||
| ### Uninstall CRDs | ||
| To delete the CRDs from the cluster: | ||
m1kola marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| @@ -72,7 +72,8 @@ make manifests | ||
| --- | ||
| **NOTE:** Run `make help` for more information on all potential `make` targets. | ||
| !!! note | ||
| Run `make help` for more information on all potential `make` targets. | ||
| ### Rapid Iterative Development with Tilt | ||
| @@ -124,17 +125,18 @@ This is typically as short as: | ||
| tilt up | ||
| ``` | ||
| **NOTE:** if you are using Podman, at least as of v4.5.1, you need to do this: | ||
| !!! note | ||
| If you are using Podman, at least as of v4.5.1, you need to do this: | ||
| ```shell | ||
| DOCKER_BUILDKIT=0 tilt up | ||
| ``` | ||
| ```shell | ||
| DOCKER_BUILDKIT=0 tilt up | ||
| ``` | ||
| Otherwise, you'll see an error when Tilt tries to build your image that looks similar to: | ||
| Otherwise, you'll see an error when Tilt tries to build your image that looks similar to: | ||
| ```text | ||
| Build Failed: ImageBuild: stat /var/tmp/libpod_builder2384046170/build/Dockerfile: no such file or directory | ||
| ``` | ||
| ```text | ||
| Build Failed: ImageBuild: stat /var/tmp/libpod_builder2384046170/build/Dockerfile: no such file or directory | ||
| ``` | ||
| When Tilt starts, you'll see something like this in your terminal: | ||
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was rendering fine in GH UI. However this doc is also used in the website. This formatting works fine in both GH and on the website.