Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6778

managementRBACEnabled doesn't take effect with ActiveMQArtemis CR

XMLWordPrintable

    • False
    • None
    • False

      With AMQ Broker operator 7.10.0-opr-1, the following configuration managementRBACEnabled doesn't take effect in the resulted AMQ containers on OpenShift.

      apiVersion: broker.amq.io/v1beta1
      kind: ActiveMQArtemis
      spec: 
        deploymentPlan: 
          managementRBACEnabled: false
      

      This indeed causes the stateful set to have the following env var setting:

                  - name: AMQ_ENABLE_MANAGEMENT_RBAC
                    value: "false"

      however this doesn't update the management.xml in the container:

      $ oc exec ex-aao-ss-0 -- cat /home/jboss/amq-broker/etc/management.xml
      ...
      <management-context xmlns="http://activemq.apache.org/schema">
         <!--<connector connector-port="1099"/>-->
         <authorisation>
            <allowlist>
               <entry domain="hawtio"/>
            </allowlist>
      ... 

      This causes Fuse Console not usable with AMQ 7.10.0 containers ENTESB-19169.

            dbruscin Domenico Francesco Bruscino
            rhn-support-tasato Tadayoshi Sato
            Roman Vais Roman Vais
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: