Skip to content

Commit

Permalink
Merge pull request ManageIQ#1026 from nasark/revert_default_msging_true
Browse files Browse the repository at this point in the history
Revert default messaging change
  • Loading branch information
Fryguy authored Jan 5, 2024
2 parents 9688b82 + fbb5e00 commit 0519482
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
5 changes: 4 additions & 1 deletion images/manageiq-orchestrator/container-assets/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,10 @@ EOS

check_svc_status ${MEMCACHED_SERVICE_HOST} ${MEMCACHED_SERVICE_PORT}
check_svc_status ${database_hostname} ${database_port}
check_svc_status ${MESSAGING_HOSTNAME} ${MESSAGING_PORT}

if [ -n "$MESSAGING_HOSTNAME" ] && [ -n "$MESSAGING_PORT" ]; then
check_svc_status ${MESSAGING_HOSTNAME} ${MESSAGING_PORT}
fi

check_deployment_status || exit 1

Expand Down
6 changes: 5 additions & 1 deletion manageiq-operator/api/v1alpha1/helpers/miq-components/cr.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ func databaseVolumeCapacity(cr *miqv1alpha1.ManageIQ) string {
}

func deployMessagingService(cr *miqv1alpha1.ManageIQ) bool {
return true
if cr.Spec.DeployMessagingService == nil {
return true
} else {
return *cr.Spec.DeployMessagingService
}
}

func enableApplicationLocalLogin(cr *miqv1alpha1.ManageIQ) bool {
Expand Down

0 comments on commit 0519482

Please sign in to comment.