Univention Bugzilla – Bug 57061
Make connection settings to memcached and postgresql configurable in self-service
Last modified: 2024-03-07 13:07:35 CET
The memache and postgresql settings in UCS are simply hardcoded to connect to the localhost databases, which don't require authentication. For a containerized self service these settings must be configurable.
The memcached database settings are now configurable via the UCR variables umc/self-service/memcached/(socket|username|password-file) plus for BDI Grundschutz compatibility the password can be given via the ENV variable SELF_SERVICE_MEMCACHED_SECRET. The postgresql database settings are now configurable via the UCR variables umc/self-service/postgresql/(hostname|port|username|database|password-file) plus for BDI Grundschutz compatibility the password can be given via the ENV variable SELF_SERVICE_DB_SECRET. univention-self-service.yaml bdecb09fe281 | feat(self-service): make connection properties for postgresql and memcached configurable univention-self-service (5.0.8-1) bdecb09fe281 | feat(self-service): make connection properties for postgresql and memcached configurable ucs-test (10.0.20-31) bdecb09fe281 | feat(self-service): make connection properties for postgresql and memcached configurable
QA: advisories: OK no related tests fail: OK new ucr vars work as intended: OK translations: OK manual test of selfservice (edit profile data): OK
<https://errata.software-univention.de/#/?erratum=5.0x981>