Use same Apache configuration as upstream

Change-Id: Id1aa01d06656b54365f49810dc01b649c1aa81e3
This commit is contained in:
Mohammed Naser 2020-05-23 18:32:35 -04:00
parent 10f9be432a
commit 30f0708473
2 changed files with 3 additions and 2 deletions

View File

@ -52,7 +52,7 @@ function proxy_pass_to_kubernetes {
local ip=$(get_kubernetes_service_ip $svc)
local apache_conf=$(apache_site_config_for $conf)
echo "ProxyPass \"${url}\" \"http://${ip}/\"" | sudo tee -a $apache_conf
echo "ProxyPass \"${url}\" \"http://${ip}/\"" | sudo tee $apache_conf
enable_apache_site $conf
restart_apache_server

View File

@ -65,7 +65,8 @@ function start_keystone {
service_port=$KEYSTONE_SERVICE_PORT_INT
auth_protocol="http"
fi
proxy_pass_to_kubernetes /identity keystone keystone-devstack
proxy_pass_to_kubernetes /identity_admin keystone keystone-wsgi-admin
proxy_pass_to_kubernetes /identity keystone keystone-wsgi-public
echo "Waiting for keystone to start..."
# Check that the keystone service is running. Even if the tls tunnel