Add support for Octavia service-to-service credentials

This patch adds hiera for configuring octavia's service-to-service
communication.

Change-Id: Iaa48ed3de8de79134898267c6241546b6c1cd7ec
Depends-On: I67ab537d1b2a82f17657ed90f794f0fa13c5207f
This commit is contained in:
Brent Eagles 2017-12-06 09:51:39 -03:30
parent 2e6ea5f5dc
commit 3dfd327db6
2 changed files with 15 additions and 1 deletions

View File

@ -70,6 +70,10 @@ parameters:
description: Driver or drivers to handle sending notifications.
constraints:
- allowed_values: [ 'messagingv2', 'noop' ]
OctaviaPassword:
description: The password for the Octavia's database account.
type: string
hidden: true
conditions:
service_debug_unset: {equals : [{get_param: OctaviaDebug}, '']}
@ -91,4 +95,10 @@ outputs:
octavia::rabbit_userid: {get_param: RabbitUserName}
octavia::rabbit_password: {get_param: RabbitPassword}
octavia::rabbit_port: {get_param: RabbitClientPort}
octavia::service_auth::auth_url: {get_param: [EndpointMap, KeystonePublic, uri_no_suffix]}
octavia::service_auth::auth_type: 'password'
octavia::service_auth::username: 'octavia'
octavia::service_auth::password: {get_param: OctaviaPassword}
octavia::service_auth::project_name: 'service'
octavia::service_auth::project_domain_name: 'Default'
octavia::service_auth::user_domain_name: 'Default'

View File

@ -0,0 +1,4 @@
---
features:
- |
Add configuration of octavia's 'service_auth' parameters.