Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit 5509e2e7 authored by Jeff Cousineau's avatar Jeff Cousineau
Browse files

mount secrets & configmaps in common /mnt/ path

parent 7b6ee590
......@@ -2,30 +2,34 @@
# link configuration files for apache and cosign
# from volume from preloaded secret.
if [ -f /secrets/httpd/httpd.conf ];
if [ -f /mnt/httpd/httpd.conf ];
then
ln -sf /secrets/httpd/httpd.conf /usr/local/apache2/conf/httpd.conf
ln -sf /mnt/httpd/httpd.conf /usr/local/apache2/conf/httpd.conf
fi
if [ -f /secrets/httpd/httpd-cosign.conf ];
if [ -f /mnt/httpd/httpd-cosign.conf ];
then
ln -sf /secrets/httpd/httpd-cosign.conf /usr/local/apache2/conf/extra/httpd-cosign.conf
ln -sf /mnt/httpd/httpd-cosign.conf /usr/local/apache2/conf/extra/httpd-cosign.conf
fi
if [ -f /secrets/httpd/httpd-ssl.conf ];
if [ -f /mnt/httpd/httpd-ssl.conf ];
then
ln -sf /secrets/httpd/httpd-ssl.conf /usr/local/apache2/conf/extra/httpd-ssl.conf
ln -sf /mnt/httpd/httpd-ssl.conf /usr/local/apache2/conf/extra/httpd-ssl.conf
fi
# copy certs from secret volume to a location that can be written to.
#mkdir /usr/local/apache2/certs/
if [ -e /secrets/certs ];
if [ -e /mnt/certs ];
then
cp /secrets/certs/* /usr/local/apache2/certs/
cp /mnt/certs/* /usr/local/apache2/certs/
fi
# Rehash command needs to be run before starting apache.
#c_rehash /usr/local/apache2/certs
# If it exists, include local.start.sh
if [ -f /mnt/start/local.start.sh ]
then
/bin/sh /mnt/start/local.start.sh
fi
# Redirect logs to stdout and stderr for docker reasons.
ln -sf /dev/stdout /usr/local/apache2/logs/access_log
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment