From 71762c078a7e405f61c69633ba8183a868522974 Mon Sep 17 00:00:00 2001 From: nasark Date: Wed, 5 Oct 2022 17:06:14 -0400 Subject: [PATCH] default deployMessagingService to true --- manageiq-operator/api/v1alpha1/helpers/miq-components/cr.go | 2 +- manageiq-operator/api/v1alpha1/manageiq_types.go | 3 +-- .../config/crd/bases/manageiq.org_manageiqs.yaml | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/manageiq-operator/api/v1alpha1/helpers/miq-components/cr.go b/manageiq-operator/api/v1alpha1/helpers/miq-components/cr.go index 3ae7ef115..7e2aa6817 100644 --- a/manageiq-operator/api/v1alpha1/helpers/miq-components/cr.go +++ b/manageiq-operator/api/v1alpha1/helpers/miq-components/cr.go @@ -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 } diff --git a/manageiq-operator/api/v1alpha1/manageiq_types.go b/manageiq-operator/api/v1alpha1/manageiq_types.go index 386c57fc0..53e9b4727 100644 --- a/manageiq-operator/api/v1alpha1/manageiq_types.go +++ b/manageiq-operator/api/v1alpha1/manageiq_types.go @@ -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) diff --git a/manageiq-operator/config/crd/bases/manageiq.org_manageiqs.yaml b/manageiq-operator/config/crd/bases/manageiq.org_manageiqs.yaml index 06a3a256a..0fa89fdfd 100644 --- a/manageiq-operator/config/crd/bases/manageiq.org_manageiqs.yaml +++ b/manageiq-operator/config/crd/bases/manageiq.org_manageiqs.yaml @@ -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