Skip to content

Commit

Permalink
fix: add default managementState as Removed to allow new components t…
Browse files Browse the repository at this point in the history
…o show up in old DSCs, fixes RHOAIENG-14194

Signed-off-by: Dhiraj Bokde <dhirajsb@users.noreply.github.com>
  • Loading branch information
dhirajsb committed Oct 9, 2024
1 parent db0fa50 commit 920e6ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/component.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ type Component struct {
// or if it is installed, the operator will try to remove it
//
// +kubebuilder:validation:Enum=Managed;Removed
// +kubebuilder:default=Removed
ManagementState operatorv1.ManagementState `json:"managementState,omitempty"`
// Add any other common fields across components below

Expand Down

0 comments on commit 920e6ec

Please sign in to comment.