My application, named 'booster-rest-http', is based on io.vertx.vertx-core and io.vertx.vertx-web ver. 3.4.2
My goal is to provide my specific configuration when I execute it.
Running the application locally I got what I want but I can not get the same result when I run it in the openshift deployment.
To get what I want in a local environment I launch:
`java -Drondinif.env = DEV -jar booster-rest-http-1.0.0-SNAPSHOT.jar run org.rondinif.api.vertx.HttpApplication --conf booster-rest-http.json`
I want to deploy on openshift by `f8-m-p`, i.e:` io.fabric8 ~ fabric8-maven-plugin`
In this way the application is up and running on openshift but without my specific conf.
I'm not able to understand how specify the configuration parameter that I would like to point to a ConfigMap mounted on pods and available on the pod /config/booster-rest-http.json
I have no experience or examples of previous work from which to get ideas, and even if I tried to read the documentation and try to adopt others configuration styles such as **Kubernetes & OpenShift resource fragments** ( instead of **Zero-Config** ) I have not yet figured out how I can change the way the application is run on the openshift pod.
From what I understand the pod always starts running: `/opt/run-java/run-java.sh` and what I see running is always:
xargs -0 printf '%s\n' </proc/1/cmdline
java
-Dvertx.cacheDirBase=/tmp
-javaagent:/opt/jolokia/jolokia.jar=config=/opt/jolokia/etc/jolokia.properties
-XX:+UseParallelGC
-XX:MinHeapFreeRatio=20
-XX:MaxHeapFreeRatio=40
-XX:GCTimeRatio=4
-XX:AdaptiveSizePolicyWeight=90
-XX:MaxMetaspaceSize=100m
-XX:+ExitOnOutOfMemoryError
-cp
.
-jar
/deployments/booster-rest-http-1.0.0-SNAPSHOT.jar
any help that addresses me in the right direction is appreciated, thanks