From 18de10a384b9eb9d72b87ef486ceec89673a6ea7 Mon Sep 17 00:00:00 2001
From: Tin Lam <tin@irrational.io>
Date: Tue, 23 May 2017 14:40:53 -0500
Subject: [PATCH] Fix barbican uwsgi subpath

This patch set addresses the problem where the subpath is causing
the pod to be running but not ready.

Change-Id: Idb7cf0cf2f8f043ce68443c3c5d33d2bfc1704bd
---
 barbican/templates/deployment-api.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/barbican/templates/deployment-api.yaml b/barbican/templates/deployment-api.yaml
index 4e5108cdae..366c57793e 100644
--- a/barbican/templates/deployment-api.yaml
+++ b/barbican/templates/deployment-api.yaml
@@ -67,7 +67,7 @@ spec:
               mountPath: /etc/barbican
             - name: barbican-etc
               mountPath: /etc/barbican/vassals/barbican-api.ini
-              subPath: vassals/barbican-api.ini
+              subPath: barbican-api.ini
               readOnly: true
             - name: barbican-etc
               mountPath: /etc/barbican/barbican.conf