Skip to content

Commit

Permalink
default deployMessagingService to true
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Jan 2, 2024
1 parent a99daa1 commit 71762c0
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
// 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: '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 71762c0

Please sign in to comment.