Merge "Image-Agnostic: Keystone"
This commit is contained in:
commit
c37aaaa857
@ -19,6 +19,11 @@ set -ex
|
|||||||
COMMAND="${@:-start}"
|
COMMAND="${@:-start}"
|
||||||
|
|
||||||
function 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
|
if [ -f /etc/apache2/envvars ]; then
|
||||||
# Loading Apache2 ENV variables
|
# Loading Apache2 ENV variables
|
||||||
source /etc/apache2/envvars
|
source /etc/apache2/envvars
|
||||||
|
@ -76,6 +76,8 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: etckeystone
|
- name: etckeystone
|
||||||
mountPath: /etc/keystone
|
mountPath: /etc/keystone
|
||||||
|
- name: wsgi-keystone
|
||||||
|
mountPath: /var/www/cgi-bin/keystone
|
||||||
- name: keystone-etc
|
- name: keystone-etc
|
||||||
mountPath: /etc/keystone/keystone.conf
|
mountPath: /etc/keystone/keystone.conf
|
||||||
subPath: keystone.conf
|
subPath: keystone.conf
|
||||||
@ -108,6 +110,8 @@ spec:
|
|||||||
volumes:
|
volumes:
|
||||||
- name: etckeystone
|
- name: etckeystone
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
|
- name: wsgi-keystone
|
||||||
|
emptyDir: {}
|
||||||
- name: keystone-etc
|
- name: keystone-etc
|
||||||
configMap:
|
configMap:
|
||||||
name: keystone-etc
|
name: keystone-etc
|
||||||
|
@ -21,7 +21,7 @@ LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-A
|
|||||||
<VirtualHost *:{{ .Values.network.api.port }}>
|
<VirtualHost *:{{ .Values.network.api.port }}>
|
||||||
WSGIDaemonProcess keystone-public processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
|
WSGIDaemonProcess keystone-public processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
|
||||||
WSGIProcessGroup keystone-public
|
WSGIProcessGroup keystone-public
|
||||||
WSGIScriptAlias / /var/www/cgi-bin/keystone/main
|
WSGIScriptAlias / /var/www/cgi-bin/keystone/keystone-wsgi-public
|
||||||
WSGIApplicationGroup %{GLOBAL}
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
<IfVersion >= 2.4>
|
<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 }}>
|
<VirtualHost *:{{ .Values.network.admin.port }}>
|
||||||
WSGIDaemonProcess keystone-admin processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
|
WSGIDaemonProcess keystone-admin processes=1 threads=4 user=keystone group=keystone display-name=%{GROUP}
|
||||||
WSGIProcessGroup keystone-admin
|
WSGIProcessGroup keystone-admin
|
||||||
WSGIScriptAlias / /var/www/cgi-bin/keystone/admin
|
WSGIScriptAlias / /var/www/cgi-bin/keystone/keystone-wsgi-admin
|
||||||
WSGIApplicationGroup %{GLOBAL}
|
WSGIApplicationGroup %{GLOBAL}
|
||||||
WSGIPassAuthorization On
|
WSGIPassAuthorization On
|
||||||
<IfVersion >= 2.4>
|
<IfVersion >= 2.4>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user