The following YAML can be applied successfully:
apiVersion: rabbitmq.com/v1beta1
kind: RabbitmqCluster
metadata:
name: my-rabbitmqcluster
spec:
replicas: 1
tls:
disableNonTLSListeners: true
The operator will return an error in the reconcile loop, and it will try infinitely. We know this can't succeed, therefore we shouldn't retry. We should log the error, as we currently do, set a status condition reflecting this problem, and stop requeueing.