Skip to content

Commit

Permalink
Align CRD for added Go doc on InstalledBundle
Browse files Browse the repository at this point in the history
Signed-off-by: Brett Tofel <btofel@redhat.com>
  • Loading branch information
bentito committed Jul 3, 2024
1 parent 5758f10 commit 1a0cc12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions api/v1alpha1/clusterextension_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,8 @@ type BundleMetadata struct {
Version string `json:"version"`
}

// ClusterExtensionStatus defines the observed state of ClusterExtension
// InstalledBundle should only be modified when a new bundle is successfully installed, that way if you've previously successfully installed a bundle before,
// if an upgrade fails it is still appropriately communicated to you that there is still a bundle that is currently installed and owned by the ClusterExtension
// ClusterExtensionStatus defines the observed state of ClusterExtension.
// InstalledBundle should only be modified when a new bundle is successfully installed. This ensures that if you've previously successfully installed a bundle before, and an upgrade fails, it is still appropriately communicated to you that there is still a bundle that is currently installed and owned by the ClusterExtension.
type ClusterExtensionStatus struct {
// +optional
InstalledBundle *BundleMetadata `json:"installedBundle,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ spec:
- packageName
type: object
status:
description: ClusterExtensionStatus defines the observed state of ClusterExtension
description: |-
ClusterExtensionStatus defines the observed state of ClusterExtension.
InstalledBundle should only be modified when a new bundle is successfully installed. This ensures that if you've previously successfully installed a bundle before, and an upgrade fails, it is still appropriately communicated to you that there is still a bundle that is currently installed and owned by the ClusterExtension.
properties:
conditions:
items:
Expand Down

0 comments on commit 1a0cc12

Please sign in to comment.