From 75b1af3897becb19dde920aaa5b858c845ba0d0b Mon Sep 17 00:00:00 2001
From: Pete Birley <pete@port.direct>
Date: Tue, 5 Jun 2018 17:48:40 -0500
Subject: [PATCH] Keystone: add deps for rabbitmq job

This PS adds dep checking for the rabbitmq management jobs.

Change-Id: Ibdaa1a9d6db0eb8fae83ba6390d629af7ee63571
Signed-off-by: Pete Birley <pete@port.direct>
---
 keystone/templates/job-rabbit-init.yaml | 1 +
 keystone/values.yaml                    | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/keystone/templates/job-rabbit-init.yaml b/keystone/templates/job-rabbit-init.yaml
index 758bd06ca0..d642ce2c6c 100644
--- a/keystone/templates/job-rabbit-init.yaml
+++ b/keystone/templates/job-rabbit-init.yaml
@@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
 */}}
+
 {{- if .Values.manifests.job_rabbit_init }}
 {{- $rmqUserJob := dict "envAll" . "serviceName" "keystone" -}}
 {{ $rmqUserJob | include "helm-toolkit.manifests.job_rabbit_init" }}
diff --git a/keystone/values.yaml b/keystone/values.yaml
index 9e95e7b8ee..c757b61baa 100644
--- a/keystone/values.yaml
+++ b/keystone/values.yaml
@@ -105,6 +105,7 @@ dependencies:
         - keystone-db-sync
         - keystone-credential-setup
         - keystone-fernet-setup
+        - keystone-rabbit-init
       services:
         - endpoint: internal
           service: oslo_cache
@@ -133,6 +134,7 @@ dependencies:
         - keystone-db-init
         - keystone-credential-setup
         - keystone-fernet-setup
+        - keystone-rabbit-init
       services:
         - endpoint: internal
           service: oslo_db