-
Notifications
You must be signed in to change notification settings - Fork 65
📖 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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,28 +43,28 @@ you can follow the steps below to test your changes: | |
|
||
1. Create the cluster: | ||
|
||
```sh | ||
kind create cluster operator-controller | ||
``` | ||
```sh | ||
kind create cluster operator-controller | ||
``` | ||
|
||
2. Build your changes: | ||
|
||
```sh | ||
make build docker-build | ||
``` | ||
```sh | ||
make build docker-build | ||
``` | ||
|
||
3. Load the image locally and Deploy to Kind | ||
|
||
```sh | ||
make kind-load kind-deploy | ||
``` | ||
```sh | ||
make kind-load kind-deploy | ||
``` | ||
|
||
### Communication Channels | ||
|
||
- Email: [operator-framework-olm-dev](mailto:[email protected]) | ||
- Slack: [#olm-dev](https://kubernetes.slack.com/archives/C0181L6JYQ2) | ||
- Google Group: [olm-gg](https://groups.google.com/g/operator-framework-olm-dev) | ||
- Weekly in Person Working Group Meeting: [olm-wg](https://github.com/operator-framework/community#operator-lifecycle-manager-working-group) | ||
- Weekly in Person Working Group Meeting: [olm-wg](https://github.com/operator-framework/community#operator-lifecycle-manager-working-group) | ||
|
||
## How are Milestones Designed? | ||
|
||
|
@@ -91,7 +91,7 @@ As discussed earlier, the operator-controller adheres to a microservice architec | |
|
||
## Submitting Issues | ||
|
||
Unsure where to submit an issue? | ||
Unsure where to submit an issue? | ||
|
||
- [The Operator-Controller project](https://github.com/operator-framework/operator-controller/), which is the top level component allowing users to specify operators they'd like to install. | ||
- [The Catalogd project](https://github.com/operator-framework/catalogd/), which hosts operator content and helps users discover installable content. | ||
|
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.
Show resolved
Hide resolved
|
||
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
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Same applies to other admonitions. We are changing these admonitions in |
||
|
||
### 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. | ||
|
||
|
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.