summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/templates/portal-apps-configmap.yaml
diff options
context:
space:
mode:
authorAlexis de Talhouƫt <alexis.de_talhouet@bell.ca>2018-01-24 17:11:19 +0000
committerGerrit Code Review <gerrit@onap.org>2018-01-24 17:11:19 +0000
commit744bad32171df0e6f8fc0ef28be86c2bd99dbaf1 (patch)
tree85abb7e71b3efe566846f35b0bb1224b1c93778a /kubernetes/portal/templates/portal-apps-configmap.yaml
parent2e533498b23e25d7e5fa31862f0f73e9c2329b11 (diff)
parentc8f632c052751e4ec61c6f9841010d1a8b1e869d (diff)
Merge "portal config seg"
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 }}