For instance having a Kubernetes Service, called "DatabaseService", exposing a PORT xyz, it can be easily used via JDBC URL, pointing to the service:
jdbc:mysql:DatabaseService:PORT
|
This looks like a much better choice over ENV vars, which is what we currently have in the existing DEV image for the Docker links, see here: https://github.com/jboss-dockerfiles/aerogear/blob/master/wildfly/configuration/xml/standalone-full-sample.xml#L156
|