Merge "Image-Agnostic: Keystone"

This commit is contained in:
Jenkins 2017-06-12 17:05:15 +00:00 committed by Gerrit Code Review
commit c37aaaa857
3 changed files with 11 additions and 2 deletions

View File

@ -19,6 +19,11 @@ set -ex
COMMAND="${@:-start}"
function start () {
for KEYSTONE_WSGI_SCRIPT in keystone-wsgi-public keystone-wsgi-admin; do
cp -a $(type -p ${KEYSTONE_WSGI_SCRIPT}) /var/www/cgi-bin/keystone/
done
if [ -f /etc/apache2/envvars ]; then
# Loading Apache2 ENV variables
source /etc/apache2/envvars

View File

@ -76,6 +76,8 @@ spec:
volumeMounts:
- name: etckeystone
mountPath: /etc/keystone
- name: wsgi-keystone
mountPath: /var/www/cgi-bin/keystone
- name: keystone-etc
mountPath: /etc/keystone/keystone.conf
subPath: keystone.conf
@ -108,6 +110,8 @@ spec:
volumes:
- name: etckeystone
emptyDir: {}
- name: wsgi-keystone
emptyDir: {}
- name: keystone-etc
configMap:
name: keystone-etc

View File

@ -21,7 +21,7 @@ LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-A
<VirtualHost *:{{ .Values.network.api.port }}>
WSGIDaemonProcess keystone-public processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
WSGIProcessGroup keystone-public
WSGIScriptAlias / /var/www/cgi-bin/keystone/main
WSGIScriptAlias / /var/www/cgi-bin/keystone/keystone-wsgi-public
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
<IfVersion >= 2.4>
@ -37,7 +37,7 @@ LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-A
<VirtualHost *:{{ .Values.network.admin.port }}>
WSGIDaemonProcess keystone-admin processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
WSGIProcessGroup keystone-admin
WSGIScriptAlias / /var/www/cgi-bin/keystone/admin
WSGIScriptAlias / /var/www/cgi-bin/keystone/keystone-wsgi-admin
WSGIApplicationGroup %{GLOBAL}
WSGIPassAuthorization On
<IfVersion >= 2.4>