You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Settings like SYSTEM_SERVER_HOST or SYSTEM_USERS_IDENTICON should be configurable via env variables.
I made a helm chart to deploy geonetwork, but saw that some settings needed to be configured after the geonetwork was deployed. E.g. we would like to configure SYSTEM_SERVER_HOST or SYSTEM_USERS_IDENTICON. Configuring those via env variables would be best since this is the most convenient way for configuration when running in a container/kubernetes.
Describe the solution you'd like
At least those settings should be made configurable via env variable. Maybe it makes sense/is easier to just expose all settings in org.fao.geonet.kernel.setting.Settings via env variables.
Maybe something like this could be added to org.fao.geonet.kernel.setting.SettingManager#getValue(String, boolean)
// Check if the value is available as an environment variableStringenvValue = System.getenv(key.replace("/", "_").toUpperCase());
if (envValue != null) {
returnenvValue;
}
Additional context
I used GeoNetwork 4.4.6.
The text was updated successfully, but these errors were encountered:
Settings like SYSTEM_SERVER_HOST or SYSTEM_USERS_IDENTICON should be configurable via env variables.
I made a helm chart to deploy geonetwork, but saw that some settings needed to be configured after the geonetwork was deployed. E.g. we would like to configure SYSTEM_SERVER_HOST or SYSTEM_USERS_IDENTICON. Configuring those via env variables would be best since this is the most convenient way for configuration when running in a container/kubernetes.
Describe the solution you'd like
At least those settings should be made configurable via env variable. Maybe it makes sense/is easier to just expose all settings in
org.fao.geonet.kernel.setting.Settings
via env variables.Maybe something like this could be added to
org.fao.geonet.kernel.setting.SettingManager#getValue(String, boolean)
Additional context
I used GeoNetwork 4.4.6.
The text was updated successfully, but these errors were encountered: