Some addons can create their tables in keycloak database
Problem
If we don't specify a custom addon/admin-tool config file, addons with postgres database (ex. gitea) create their tables in keycloak database.
For example, with a custom config file socle.ini
which contains keycloak database parameters for the socle, the addon tables are created in keycloak database :
eole3 --config socle.ini build addon -n gitea
Solution
In build
and config
command, config files need to be sorted :
- Default socle config files
vars.ini
andcluster-vars.ini
- Custom config files specified with
--config
option before the command - Default addon/admin-tool config file
But now, addons/admin-tools have always the default configuration.
We must add --config
option for addon
and admin-tool
service type and add these custom addon/admin-tool config files in last.
Edited by Barconnière Fabrice