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

[Documentation bug] The format is incorrect.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • documentation
    • None

      URL:
      https://docs.redhat.com/en/documentation/red_hat_amq_broker/7.12/html/deploying_amq_broker_on_openshift/assembly-br-configuring-operator-based-deployments_broker-ocp#proc-br-configuring-leader-follower-ha_broker-ocp

      In the section 4.23 - Step 4, the example doesn't work.

      There is a format error in the example below:
      ~~~
      spec:
      ..
      env:

      • name: ARTEMIS_EXTRA_LIBS
        value: '/amq/init/config/extra-libs'
        resourceTemplates:
      • selector:
        kind: StatefulSet
        patch:
        kind: StatefulSet
        spec:
        template:
        spec:
        initContainers:
      • name: jdbc-driver-init
        image: <custom container image with JAR>
        volumeMounts:
      • name: amq-cfg-dir
        mountPath: /amq/init/config
        command:
      • "bash"
      • "-c"
      • "mkdir -p /amq/init/config/extra-libs && cp <_JAR file> /amq/init/config/extra-libs
        ~~~

      "spec.resourceTemplates.spec" is not exist. The correct one should be "spec.resourceTemplates.patch.spec".

      The same issue can be seen in the step 5.

              jcliffor@redhat.com John Clifford
              rhn-support-yhuang Ying Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: