summaryrefslogtreecommitdiffstats
path: root/templates/sparky-be-deployment-configmap.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-02-06 17:20:15 +0000
committerGerrit Code Review <gerrit@onap.org>2018-02-06 17:20:15 +0000
commitca30e0dbde261239e30368fafcfbcd62a96d9b77 (patch)
tree938980f296c3d43041478e986d22e29fe652cac9 /templates/sparky-be-deployment-configmap.yaml
parent98310a6b15d147b453ac56c3a6426c8cbd10ea41 (diff)
parent84375f1cd37315c59fedd594af5d22bcfb3d1f82 (diff)
Merge "config seg aai sparky be"
Diffstat (limited to 'templates/sparky-be-deployment-configmap.yaml')
-rw-r--r--templates/sparky-be-deployment-configmap.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/sparky-be-deployment-configmap.yaml b/templates/sparky-be-deployment-configmap.yaml
new file mode 100644
index 0000000..55dea65
--- /dev/null
+++ b/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 }}