Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 83
Logically group fields in the spec #1148
Copy link
Copy link
Closed
Labels
epic/v1-apigood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.v1.0Issues related to the initial stable release of OLMv1Issues related to the initial stable release of OLMv1
Milestone
Description
Metadata
Metadata
Assignees
Labels
epic/v1-apigood first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.v1.0Issues related to the initial stable release of OLMv1Issues related to the initial stable release of OLMv1
Type
Projects
StatusShow more project fields
Done
This change is unrelated to either the OpenShift or Kubernetes API Conventions and is focused on ensuring that fields are logically grouped and that these logical groupings are valid as our feature set and API is expanded post-v1.0.0.
Building on #1088 , the RFC proposed a structure similar to:
An example of a ClusterExtension, in YAML, with these changes (and building on top of the discriminated union changes):
Additionally, the
ClusterExtension.Statusshould be updated to have logically grouped status information as well:Having these distinct, logical sections in both the
ClusterExtension.Specand theClusterExtension.Statusallows for logical expansion of fields. For example, if we wanted to add theClusterCatalogthat the bundle we resolved to was from in the status, it would be a straightforward update to add a new field to theResolutionStatusstruct above.