-
Bug
-
Resolution: Done
-
Major
-
None
-
AMQ 7.8.0.GA
-
None
-
False
-
False
-
-
Undefined
-
Cannot set `addressFullPolicy: FAIL` on addresses on a operator-based deployment
Env : amq7.8 on openshift 4.5
oc get ActiveMQArtemis -o yaml shows the changes but not getting reflected on etc/broker.xml
// oc get ActiveMQArtemis -o yaml apiVersion: v1 items: - apiVersion: broker.amq.io/v2alpha4 kind: ActiveMQArtemis metadata: annotations: kubectl.kubernetes.io/last-applied-configuration: | {"apiVersion":"broker.amq.io/v2alpha4","kind":"ActiveMQArtemis","metadata":{"annotations":{},"name":"ex-aao","namespace":"artemis-project"},"spec":{"deploymentPlan":{"addressSettings":{"addressSetting":[{"addressFullPolicy":"FAIL","name":"*"}]},"image":"registry.redhat.io/amq7/amq-broker:7.8","size":2}}} creationTimestamp: "2021-01-07T13:03:02Z" generation: 2 managedFields: - apiVersion: broker.amq.io/v2alpha4 fieldsType: FieldsV1 fieldsV1: f:metadata: f:annotations: .: {} f:kubectl.kubernetes.io/last-applied-configuration: {} f:spec: .: {} f:deploymentPlan: .: {} f:image: {} f:size: {} manager: oc operation: Update time: "2021-01-07T13:25:31Z" - apiVersion: broker.amq.io/v2alpha4 fieldsType: FieldsV1 fieldsV1: f:spec: f:addressSettings: {} f:console: {} f:deploymentPlan: f:messageMigration: {} f:resources: {} f:storage: {} f:upgrades: .: {} f:enabled: {} f:minor: {} f:status: .: {} f:podStatus: .: {} f:ready: {} manager: amq-broker-operator operation: Update time: "2021-01-07T13:26:31Z" name: ex-aao namespace: artemis-project resourceVersion: "20862827" selfLink: /apis/broker.amq.io/v2alpha4/namespaces/artemis-project/activemqartemises/ex-aao uid: 7dd275d9-dc16-4fa1-b5a3-66b4da5964b0 spec: deploymentPlan: addressSettings: addressSetting: - addressFullPolicy: FAIL name: '*' image: registry.redhat.io/amq7/amq-broker:7.8 size: 2 status: podStatus: ready: - ex-aao-ss-1 - ex-aao-ss-2 kind: List metadata: resourceVersion: "" selfLink: ""
Artems broker cr
// apiVersion: broker.amq.io/v2alpha4 kind: ActiveMQArtemis metadata: name: ex-aao spec: deploymentPlan: size: 2 image: registry.redhat.io/amq7/amq-broker:7.8 addressSettings: addressSetting: - addressFullPolicy: FAIL name: '*'
I have tried match: '*' for addresssettings also ,but still changes not getting applied in broker.xml