Gitlab Pages: add extraVolumes and extraVolumeMounts
The current installation of gitlab-pages
writes a logfile to /var/log/gitlab/pages.log
. We want to forward all logs from gitlab to a central log server but we do not use a cluster solution where we forward all (stdout-)logs from the cluster. Different apps in the cluster must forward to different logservers.
The Gitlab-Webservice Chart has the parameters extraVolumes
, extraVolumeMounts
and extraContainers
. With these settings, i can create a volume and mount this to /var/log/gitlab
and i can also add an extra container with a fluentbit
inside which parses the different log files (json, text, ...) and forwards them.
The Pages Chart does only support extraContainers
so i cannot use this solution. Would it be possible to also add extraVolumes
and extraVolumeMounts
so i can easily forward the logs?
- Chart: v4.9.0