georchestra / helm-georchestra

geOrchestra helm chart
3 stars 6 forks source link

geoserver fails if geodata or datafeeder DB not used/configured #56

Open jeanpommier opened 1 year ago

jeanpommier commented 1 year ago

The environment variables configured there are problematic:

The idea of geOrchestra being to be as modular as possible and keep a loose coupling when possible, I believe that those env vars should not be configured in the deployment template. They are necessary only for configuring the JNDI connectors, which are optional and defined outside of the chart. Geodata DB is optional too. And so is the datafeeder.

I am proposing to move the declaration of those env vars into extra_environment section for the geoserver container. This would work very well, make it easier to configure/modify JNDI behaviour and above all easier to see and figure out. And allow people to not configure this or do it differently.