Add keystone parameters to authenticate webhook notifications
This commit will update devstack plugin to add required parameters to notification.yaml for keystone authentication. Change-Id: I61b3b437a06f5e62b41c567d361e1d73a4e55d0e Partially-Implements: blueprint add-monasca-push-driver Story: 2003105 Task: 23221
This commit is contained in:
parent
73d31f2516
commit
c11fbd6c70
|
@ -122,3 +122,13 @@ logging: # Used in logging.dictConfig
|
|||
statsd:
|
||||
host: 'localhost'
|
||||
port: %MONASCA_STATSD_PORT%
|
||||
|
||||
keystone:
|
||||
auth_required: False
|
||||
auth_url: '%KEYSTONE_URL%'
|
||||
username: 'admin'
|
||||
password: 'password'
|
||||
project_name: 'admin'
|
||||
user_domain_name: 'default'
|
||||
project_domain_name: 'default'
|
||||
auth_type: 'password'
|
||||
|
|
|
@ -102,6 +102,7 @@ configure_monasca-notification() {
|
|||
s|%MONASCA_STATSD_PORT%|${MONASCA_STATSD_PORT}|g;
|
||||
s|%MONASCA_NOTIFICATION_LOG_DIR%|${MONASCA_NOTIFICATION_LOG_DIR}|g;
|
||||
s|%GRAFANA_URL%|http:\/\/${SERVICE_HOST}:3000|g;
|
||||
s|%KEYSTONE_URL%|http:\/\/${SERVICE_HOST}\/identity\/v3|g;
|
||||
" -i ${MONASCA_NOTIFICATION_CONF}
|
||||
|
||||
sudo install -d -o ${STACK_USER} ${MONASCA_NOTIFICATION_GATE_CFG_LINK}
|
||||
|
|
Loading…
Reference in New Issue