forked from att-comdev/openstack-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request att-comdev#114 from portdirect/yaodu/keystone
Keystone: Configmap Updates
- Loading branch information
Showing
11 changed files
with
416 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,13 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# order of kolla_keystone_bootstrap urls | ||
# for those of looking for a little expanation | ||
# to a mysterious blackbox | ||
# | ||
# these will feed into the keystone endpoints | ||
# so it is important they are correct | ||
# | ||
# keystone_admin_url | ||
# keystone_internal_url | ||
# keystone_public_url | ||
|
||
keystone-manage db_sync | ||
kolla_keystone_bootstrap {{ .Values.keystone.admin_user }} {{ .Values.keystone.admin_password }} \ | ||
{{ .Values.keystone.admin_project_name }} admin \ | ||
{{ include "endpoint_keystone_admin" . }} \ | ||
{{ include "endpoint_keystone_internal" . }} \ | ||
{{ include "endpoint_keystone_internal" . }} \ | ||
{{ .Values.keystone.admin_region_name }} | ||
keystone-manage --config-file=/etc/keystone/keystone.conf db_sync | ||
|
||
keystone-manage --config-file=/etc/keystone/keystone.conf bootstrap \ | ||
--bootstrap-username {{ .Values.keystone.admin_user }} \ | ||
--bootstrap-password {{ .Values.keystone.admin_password }} \ | ||
--bootstrap-project-name {{ .Values.keystone.admin_project_name }} \ | ||
--bootstrap-admin-url {{ include "endpoint_keystone_admin" . }} \ | ||
--bootstrap-public-url {{ include "endpoint_keystone_internal" . }} \ | ||
--bootstrap-internal-url {{ include "endpoint_keystone_internal" . }} \ | ||
--bootstrap-region-id {{ .Values.keystone.admin_region_name }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
#!/bin/bash | ||
set -ex | ||
|
||
# Loading Apache2 ENV variables | ||
source /etc/apache2/envvars | ||
#!/bin/bash | ||
set -ex | ||
|
||
# start apache with any container arguments | ||
apache2 -DFOREGROUND $* | ||
if [ -f /etc/apache2/envvars ]; then | ||
# Loading Apache2 ENV variables | ||
source /etc/apache2/envvars | ||
fi | ||
|
||
# Start Apache2 | ||
exec apache2 -DFOREGROUND |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
# Keystone PasteDeploy configuration file. | ||
|
||
[filter:debug] | ||
use = egg:oslo.middleware#debug | ||
|
||
[filter:request_id] | ||
use = egg:oslo.middleware#request_id | ||
|
||
[filter:build_auth_context] | ||
use = egg:keystone#build_auth_context | ||
|
||
[filter:token_auth] | ||
use = egg:keystone#token_auth | ||
|
||
[filter:admin_token_auth] | ||
# This is deprecated in the M release and will be removed in the O release. | ||
# Use `keystone-manage bootstrap` and remove this from the pipelines below. | ||
use = egg:keystone#admin_token_auth | ||
|
||
[filter:json_body] | ||
use = egg:keystone#json_body | ||
|
||
[filter:cors] | ||
use = egg:oslo.middleware#cors | ||
oslo_config_project = keystone | ||
|
||
[filter:http_proxy_to_wsgi] | ||
use = egg:oslo.middleware#http_proxy_to_wsgi | ||
|
||
[filter:healthcheck] | ||
use = egg:oslo.middleware#healthcheck | ||
|
||
[filter:ec2_extension] | ||
use = egg:keystone#ec2_extension | ||
|
||
[filter:ec2_extension_v3] | ||
use = egg:keystone#ec2_extension_v3 | ||
|
||
[filter:s3_extension] | ||
use = egg:keystone#s3_extension | ||
|
||
[filter:url_normalize] | ||
use = egg:keystone#url_normalize | ||
|
||
[filter:sizelimit] | ||
use = egg:oslo.middleware#sizelimit | ||
|
||
[filter:osprofiler] | ||
use = egg:osprofiler#osprofiler | ||
|
||
[app:public_service] | ||
use = egg:keystone#public_service | ||
|
||
[app:service_v3] | ||
use = egg:keystone#service_v3 | ||
|
||
[app:admin_service] | ||
use = egg:keystone#admin_service | ||
|
||
[pipeline:public_api] | ||
# The last item in this pipeline must be public_service or an equivalent | ||
# application. It cannot be a filter. | ||
pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension public_service | ||
|
||
[pipeline:admin_api] | ||
# The last item in this pipeline must be admin_service or an equivalent | ||
# application. It cannot be a filter. | ||
pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension s3_extension admin_service | ||
|
||
[pipeline:api_v3] | ||
# The last item in this pipeline must be service_v3 or an equivalent | ||
# application. It cannot be a filter. | ||
pipeline = healthcheck cors sizelimit http_proxy_to_wsgi osprofiler url_normalize request_id build_auth_context token_auth json_body ec2_extension_v3 s3_extension service_v3 | ||
|
||
[app:public_version_service] | ||
use = egg:keystone#public_version_service | ||
|
||
[app:admin_version_service] | ||
use = egg:keystone#admin_version_service | ||
|
||
[pipeline:public_version_api] | ||
pipeline = healthcheck cors sizelimit osprofiler url_normalize public_version_service | ||
|
||
[pipeline:admin_version_api] | ||
pipeline = healthcheck cors sizelimit osprofiler url_normalize admin_version_service | ||
|
||
[composite:main] | ||
use = egg:Paste#urlmap | ||
/v2.0 = public_api | ||
/v3 = api_v3 | ||
/ = public_version_api | ||
|
||
[composite:admin] | ||
use = egg:Paste#urlmap | ||
/v2.0 = admin_api | ||
/v3 = api_v3 | ||
/ = admin_version_api |
Oops, something went wrong.