summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorKajur, Harish (vk250x) <vk250x@att.com>2018-04-26 11:26:45 -0400
committerKajur, Harish (vk250x) <vk250x@att.com>2018-05-07 16:39:52 -0400
commit66fa0dce24f8079477fd9aab20ef4beca72570a0 (patch)
treead3ae233054c461c618560f5b5fd7da44af7926c /templates
parentae29f3c1227e96337aff9bfef8afd016818a0c8a (diff)
Update the keystore for resources and traversal
to use the aaf generated keystore for our apps Issue-ID: AAI-1101 Change-Id: I5a5642f86e8bb924f2c01fa685a0493abf500623 Signed-off-by: Kajur, Harish (vk250x) <vk250x@att.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/configmap.yaml21
1 files changed, 20 insertions, 1 deletions
diff --git a/templates/configmap.yaml b/templates/configmap.yaml
index 592e412..00d2a80 100644
--- a/templates/configmap.yaml
+++ b/templates/configmap.yaml
@@ -13,6 +13,25 @@ metadata:
name: aai-deployment-configmap
namespace: {{ include "common.namespace" . }}
data:
-{{ tpl (.Files.Glob "resources/config/haproxy/*").AsConfig . | indent 2 }}
+{{ tpl (.Files.Glob "resources/config/haproxy/haproxy.cfg").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: aai-haproxy-secret
+ namespace: {{ include "common.namespace" . }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/haproxy/aai.pem").AsSecrets . | indent 2 }}
+# This is a shared key for both resources and traversal
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: aai-auth-secret
+ namespace: {{ include "common.namespace" . }}
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/aai/aai_keystore").AsSecrets . | indent 2 }}