Replies: 2 comments 2 replies
-
@win5923 you could use the system property
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I solved the issue by adding a launch.sh config map and including it in the initContainer. apiVersion: v1
kind: ConfigMap
metadata:
name: artemis-jolokia-access
namespace: activemq-artemis-operator
data:
launch.sh: |
#!/bin/sh
export BROKER_IP="0.0.0.0"
.... apiVersion: broker.amq.io/v1beta1
kind: ActiveMQArtemis
metadata:
name: artemis-broker
namespace: activemq-artemis-operator
spec:
resourceTemplates:
- selector:
kind: "StatefulSet"
patch:
kind: "StatefulSet"
spec:
template:
spec:
initContainers:
- name: "artemis-broker-container-init"
volumeMounts:
- name: jolokia-access
mountPath: /opt/amq/bin/launch.sh
subPath: launch.sh
readOnly: true
volumes:
- name: jolokia-access
configMap:
name: artemis-jolokia-access
items:
- key: launch.sh
path: launch.sh
mode: 0755 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm using operator 1.21 and would like to ask how to modify the args of
artemis-broker-container-init
. I want to change--http-host
, but if I use the following settings, there will be an error. Any advice would be greatly appreciated!Here is my ActiveMQArtemis:
Beta Was this translation helpful? Give feedback.
All reactions