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

[0.18.x] [CLOUD-3649] generating driver configuration according to DRIVERS environment variable #233

Open
wants to merge 1 commit into
base: 0.18.x
Choose a base branch
from

Conversation

jfdenise
Copy link
Contributor

No description provided.

@jfdenise jfdenise changed the title [CLOUD-3649] generating driver configuration according to DRIVERS environment variable [0.18.x] [CLOUD-3649] generating driver configuration according to DRIVERS environment variable Apr 13, 2021
if (outcome == success) of /subsystem=datasources/jdbc-driver=${driver_name}:read-resource
echo Cannot add the driver with name '${driver_name}'. There is a driver with the same name already configured. >> \${error_file}
exit
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@istudens , what would happen if a user used the s2i mechanism to install drivers (install.sh, configure-drivers, ...) and set the DRIVERS env variables (explicit export or --build-env). When the server would then start, the env variables would be present in the image and the server would fail to start. Did you try that?

Copy link
Contributor

Choose a reason for hiding this comment

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

@jfdenise nope, I haven't tested combination with custom install.sh and configure-drivers out of it, I will do it

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.

None yet

2 participants