From 3b62761d2fc25abef4ca98e9d5863197c4497b85 Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Wed, 17 Aug 2016 09:26:05 -0400 Subject: Add DefaultPasswords to composable services This patch adds a new DefaultPasswords parameter to composable services. This is needed to help provide access to top level password resources that overcloud.yaml currently manages (passwords for Rabbit, Mysql, etc.). Moving the RandomString resources into composable services would cause them to regenerate within the stack. With this approach we can leave them where they are while we deprecate the top level mechanism and move the code that uses the passwords into the composable services. Change-Id: I4f21603c58a169a093962594e860933306879e3f --- default_passwords.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 default_passwords.yaml (limited to 'default_passwords.yaml') diff --git a/default_passwords.yaml b/default_passwords.yaml new file mode 100644 index 00000000..a7d9c978 --- /dev/null +++ b/default_passwords.yaml @@ -0,0 +1,28 @@ +heat_template_version: 2016-10-14 + +description: Passwords we manage at the top level + +parameters: + DefaultMysqlRootPassword: + type: string + DefaultMysqlClusterPassword: + type: string + DefaultRabbitCookie: + type: string + DefaultHeatAuthEncryptionKey: + type: string + DefaultPcsdPassword: + type: string + DefaultHorizonSecret: + type: string + +outputs: + passwords: + description: Password data + value: + mysql_root_password: {get_param: DefaultMysqlRootPassword} + mysql_cluster_password: {get_param: DefaultMysqlClusterPassword} + rabbit_cookie: {get_param: DefaultRabbitCookie} + heat_auth_encryption_key: {get_param: DefaultHeatAuthEncryptionKey} + pcsd_password: {get_param: DefaultPcsdPassword} + horizon_secret: {get_param: DefaultHorizonSecret} -- cgit 1.2.3-korg