summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-apps-configmap.yaml
diff options
context:
space:
mode:
authormayank <mayank.gupta@amdocs.com>2018-01-21 10:08:25 +0000
committermayankg2703 <mayank.gupta@amdocs.com>2018-01-24 16:19:35 +0000
commitc8f632c052751e4ec61c6f9841010d1a8b1e869d (patch)
tree2a8d343ed6af849a91a79c03112a425bce26cb79 /kubernetes/portal/templates/portal-apps-configmap.yaml
parent6573bf22366ae85d4b01849c3b74fe35e77401cd (diff)
portal config seg
Issue-ID: OOM-557 Change-Id: I79f73ce84102caae5fdd4570cf1acb26cb3eeb4c Signed-off-by: mayank <mayank.gupta@amdocs.com>
Diffstat (limited to 'kubernetes/portal/templates/portal-apps-configmap.yaml')
-rw-r--r--kubernetes/portal/templates/portal-apps-configmap.yaml35
1 files changed, 35 insertions, 0 deletions
diff --git a/kubernetes/portal/templates/portal-apps-configmap.yaml b/kubernetes/portal/templates/portal-apps-configmap.yaml
new file mode 100644
index 0000000000..044e0d8a4d
--- /dev/null
+++ b/kubernetes/portal/templates/portal-apps-configmap.yaml
@@ -0,0 +1,35 @@
+#{{ if not .Values.disablePortalPortalapps }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-onap-portal-sdk-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/portal-fe/webapps/etc/ONAPPORTALSDK/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-onap-portal-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/portal-fe/webapps/etc/ONAPPORTAL/*").AsConfig . | indent 2 }}
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-mariadb-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/mariadb/oom_updates.sql").AsConfig . | indent 2 }}
+#{{ end }}
+---
+#{{ if not .Values.disablePortalPortalwidgets }}
+apiVersion: v1
+kind: ConfigMap
+metadata:
+ name: portal-onapwidgetms-configmap
+ namespace: {{ .Values.nsPrefix }}-portal
+data:
+{{ tpl (.Files.Glob "resources/config/portal-fe/webapps/etc/ONAPWIDGETMS/application.properties").AsConfig . | indent 2 }}
+#{{ end }}