Skip to content

Commit

Permalink
deprecate deployMessagingService flag
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Nov 6, 2023
1 parent fae713c commit c2ec854
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func databaseVolumeCapacity(cr *miqv1alpha1.ManageIQ) string {

func deployMessagingService(cr *miqv1alpha1.ManageIQ) bool {
if cr.Spec.DeployMessagingService == nil {
return false
return true
} else {
return *cr.Spec.DeployMessagingService
}
Expand Down
3 changes: 1 addition & 2 deletions manageiq-operator/api/v1alpha1/manageiq_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@ type ManageIQSpec struct {
// +optional
DatabaseVolumeCapacity string `json:"databaseVolumeCapacity,omitempty"`

// Flag to indicate if Kafka and Zookeeper should be deployed (default: false)
// +optional
// Deprecated: Flag to indicate if Kafka and Zookeeper should be deployed (default: true)
DeployMessagingService *bool `json:"deployMessagingService,omitempty"`

// Flag to allow logging into the application without SSO (default: true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ spec:
description: 'Database volume size (default: 15Gi)'
type: string
deployMessagingService:
description: 'Flag to indicate if Kafka and Zookeeper should be deployed
(default: false)'
description: 'Deprecated: Flag to indicate if Kafka and Zookeeper
should be deployed (default: true)'
type: boolean
enableApplicationLocalLogin:
description: 'Flag to allow logging into the application without SSO
Expand Down

0 comments on commit c2ec854

Please sign in to comment.