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

ActiveMQArtemisSecurity applyToCrNames default value does not work correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ 7.10.0.GA
    • AMQ 7.9.2.OPR.1.GA
    • operator
    • None
    • False
    • False

      According to documentation of applyToCrNames:
      ---------
      Apply this security config to the brokers defined by the named CRs in the current namespace. A value of * or empty string means applying to all brokers.
      Default value: All brokers defined by CRs in the current namespace.
      ---------
      However, not having applyToCrNames in yaml still applies security settings to brokers in other namespaces, not just the current namespace.

      To replicate, define ActiveMQArtemisSecurity setting in one namespace without applyToCrNames (therefore the default value will be used). You will see that this security setting is applied to all brokers in other namespaces that do not have their own ActiveMQArtemisSecurity instance with applyToCrNames.

              gaohoward Howard Gao
              rhn-support-zstrmisk Zdenek Strmiska
              Mikhail Krutov Mikhail Krutov
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: