summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml
diff options
context:
space:
mode:
authormayankg2703 <mayank.gupta@amdocs.com>2018-02-06 16:40:19 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2018-02-06 16:40:53 +0000
commit9f44dc231c305e8d60f72ab4e2b47a429dba03be (patch)
tree337da980e25a1ea9aa1543a5b5902a0366240076 /kubernetes/aai/templates/sparky-be-deployment-configmap.yaml
parentbce13fa0b25fb7932d5ad1be748541682329853c (diff)
config seg aai sparky be
Change-Id: Ic322d59fe4d79e35595a72daf7842ee03954023b Issue-ID: OOM-664 Signed-off-by: mayankg2703 <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/aai/templates/sparky-be-deployment-configmap.yaml')
-rw-r--r--kubernetes/aai/templates/sparky-be-deployment-configmap.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml b/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml
new file mode 100644
index 0000000000..55dea653cd
--- /dev/null
+++ b/kubernetes/aai/templates/sparky-be-deployment-configmap.yaml
@@ -0,0 +1,34 @@
+#{{ if not .Values.disableAaiSparkyBe }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sparky-be-configmap
+ namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sparky-be-model-configmap
+ namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/model/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: sparky-be-portal-configmap
+ namespace: {{ .Values.nsPrefix }}-aai
+data:
+{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/portal/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: Secret
+metadata:
+ name: sparky-be-secret
+ namespace: {{ .Values.nsPrefix }}-aai
+type: Opaque
+data:
+{{ tpl (.Files.Glob "resources/config/sparky-be/appconfig/auth/*").AsSecrets . | indent 2 }}
+#{{ end }}