-
Notifications
You must be signed in to change notification settings - Fork 584
config/v1/types_cluster_operator: Tighten up Upgradeable docs #995
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 |
|---|---|---|
|
|
@@ -176,10 +176,16 @@ const ( | |
| // unexpected errors are handled as operators mature. | ||
| OperatorDegraded ClusterStatusConditionType = "Degraded" | ||
|
|
||
| // Upgradeable indicates whether the operator safe to upgrade based on the current cluster state. When status is `False` | ||
| // administrators should not upgrade their cluster and the message field should contain a human readable description | ||
| // of what the administrator should do to allow the operator to successfully update. A missing condition, True, | ||
| // and Unknown are all treated by the CVO as allowing an upgrade. | ||
| // Upgradeable indicates whether the operator is safe to upgrade based on the | ||
| // current cluster state. When status is False, the cluster-version operator | ||
| // will prevent the cluster from performing impacted updates unless forced. | ||
| // When set on ClusterVersion, the message will explain which updates (minor | ||
| // or patch) are impacted. When set on ClusterOperator, False will block | ||
|
Contributor
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. Is there an implicit hierarchy here that needs to be called out? For example, if minor version updates are not allowed, are patch version updates also automatically disallowed ?
Member
Author
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.
SemVer is
So the actual user experience should be unambiguous. |
||
| // minor OpenShift updates. The message field should contain a human | ||
| // readable description of what the administrator should do to allow the | ||
| // cluster or operator to successfully update. The cluster-version operator | ||
| // will allow updates when this condition is not False, including when it is | ||
| // missing, True, or Unknown. | ||
| OperatorUpgradeable ClusterStatusConditionType = "Upgradeable" | ||
| ) | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.