Skip to content

Conversation

constantine2nd
Copy link
Collaborator

No description provided.

- Resolved merge conflicts in .gitignore
- Combined environment variable support with upstream CI/CD improvements
- Kept persistence.xml with environment variable placeholders
- Added comprehensive environment configuration tooling
@constantine2nd constantine2nd changed the title Improve UserAdapter Make OBP-Keycloak-Provider fully configurable via ENV variables Aug 15, 2025
- persistence.xml should be generated from persistence.xml-example
- Contains environment-specific configuration that shouldn't be in VCS
- Already listed in .gitignore but was previously tracked
Copy link
Contributor

@karmaking karmaking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While this approach technically works, it does not support k8s deployments or deployments from e.g. a Dockerhub-hosted image.

The run-with-env.sh builds a customised image injecting the env vars to maven, but we rather need to be able to configure the keycloak provider via env vars at run time, not at build time.

So the java artifact needs to be able to read the env vars when it boots.

In general, custom shell scripts to build and run a container don't work with Kubernetes. And we want to be able to host generic and ready-to-use docker images on Dockerhub in our standard deployment pipelines.

@simonredfern simonredfern merged commit be82fb6 into OpenBankProject:main Oct 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants