-
Bug
-
Resolution: Done
-
Undefined
-
None
-
AMQ 7.11.1.OPR.1.GA
-
None
According with the doc (https://access.redhat.com/documentation/en-us/red_hat_amq_broker/7.11/html-single/deploying_amq_broker_on_openshift/index#security-crd-reference_broker-ocp), connection.secured is a boolean value.
When creating the object, it also checks if it is boolean:
The ActiveMQArtemisSecurity "demo-jmx" is invalid: spec.securitySettings.management.connector.secured: Invalid value: "string": spec.securitySettings.management.connector.secured in body must be of type boolean: "string"
However, the init container script `apply_security.py` throws an exception:
File "/opt/amq-broker/script/cfg/apply_security.py", line 786, in merge_connector_from new_connector_str.write(new_connector[prop]) TypeError: string argument expected, got 'bool'
Attaching sample configuration and init log.