Skip to content
Snippets Groups Projects
Commit f5a402aa authored by Pablo Vigo Mas's avatar Pablo Vigo Mas
Browse files

Add OIDC compatibility


OIDC authentication requires a different Docker image from the one
used for publishing repository content. This customized image
loads the OIDC module to enable the connection but also loads
other modules listed in the chart configuration by default.

Forcing the container to load these modules results in the error
"module is built-in and can't be loaded," causing the container to
stop.

It is necessary for this Helm Chart to be compatible with different
Apache2 images. Therefore, a check is added to avoid loading
modules if `OIDC_CONFIG_PRESENT` is defined.

Signed-off-by: default avatarPablo Vigo <pvigo@collabora.com>
parent ff2346f2
No related branches found
No related tags found
No related merge requests found
Pipeline #96645 passed
......@@ -15,13 +15,16 @@ data:
LoadModule allowmethods_module modules/mod_allowmethods.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule mime_module modules/mod_mime.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule headers_module modules/mod_headers.so
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_http_module modules/mod_proxy_http.so
LoadModule unixd_module modules/mod_unixd.so
LoadModule dir_module modules/mod_dir.so
LoadModule autoindex_module modules/mod_autoindex.so
<ifDefine !OIDC_CONFIG_PRESENT>
LoadModule log_config_module modules/mod_log_config.so
LoadModule unixd_module modules/mod_unixd.so
</IfDefine>
{{ .Values.publish.config.after_modules | indent 4 }}
<IfModule unixd_module>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment