Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jeanpommier opened this issue Oct 1, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@jeanpommier
Copy link
Member

The environment variables configured there are problematic:

  • the logic to determine the secret's name should be located on one single place, in the helpers function, where it is already. Actually, when submitting [DB] Fix builtin DB init script. Document the DB existingSecret params #51, i missed this one and in some cases, it is faulty (is using builtin DB but providing existing secret, this does not resolve properly)
  • if someone decides not to use datafeeder or a geodata DB, the env vars won't be resolved and the geoserver pod will fail to start

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.

@edevosc2c edevosc2c added the bug Something isn't working label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants