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

Manage an empty management.xml with the AMQ Broker Operator

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • AMQ 7.12.0.GA
    • container image, operator
    • None
    • False
    • None
    • False
    • Documentation (Ref Guide, User Guide, etc.)

      Manage an empty management.xml with a property in the activemqArtemis CR instead of using resourceTemplates with initContainer:

      For instance:

      spec:
        resourceTemplates:
        - selector:
           kind: "StatefulSet"
          patch:
           kind: "StatefulSet"
           spec:
            template:
             spec:
              initContainers:
              - name: "ex-aao-container-init"
                args:
                -  '-c'
                -  '/opt/amq/bin/launch.sh && /opt/amq-broker/script/default.sh; echo "Empty management.xml";echo "<management-context xmlns=\"http://activemq.apache.org/schema\" />" > /amq/init/config/amq-broker/etc/management.xml'
      

            Unassigned Unassigned
            rhn-support-aboucham Abel Bouchama
            Mikhail Krutov Mikhail Krutov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: