-
Story
-
Resolution: Duplicate
-
Minor
-
None
-
None
-
None
-
False
-
False
For convenience it would be helpful if there is an option in the Operator to mount a ConfigMap or Secret in /amq/scripts for the post-config.sh to update or tweak the broker config.
Right now you can do this manually but it requires a lot of work:
1) Create the ConfigMap with the post-config script
2) Set the volume in the Statefulset mounting the ConfigMap in /amq/scripts
3) Edit the Statefulset manually and very carefully move the volume from the broker container to the initContainer
4) Cross fingers and scale up the Operator
All of this is very prone to errors and in case of recreating the environment from the ActiveMQArtemis YAML or deleting the Statefulset everything will be lost.
Besides, my cust have a lot of AMQ Brokers deployed on OCP 4.7 and it's a real pain to do all of this manually.
- relates to
-
ENTMQBR-4637 [Operator] Provide optional secret/configmap in the Custom Resource
- Closed