Run all components in one namespace
[oom.git] / kubernetes / portal / templates / portal-apps-configmap.yaml
1 #{{ if not .Values.disablePortalPortalapps }}
2 apiVersion: v1
3 kind: ConfigMap
4 metadata:
5   name: portal-onap-portal-sdk-configmap
6   namespace: {{ .Values.nsPrefix }}
7 data:
8 {{ tpl (.Files.Glob "resources/config/portal-fe/webapps/etc/ONAPPORTALSDK/*").AsConfig . | indent 2 }}
9 ---
10 apiVersion: v1
11 kind: ConfigMap
12 metadata:
13   name: portal-onap-portal-configmap
14   namespace: {{ .Values.nsPrefix }}
15 data:
16 {{ tpl (.Files.Glob "resources/config/portal-fe/webapps/etc/ONAPPORTAL/*").AsConfig . | indent 2 }}
17 ---
18 apiVersion: v1
19 kind: ConfigMap
20 metadata:
21   name: portal-mariadb-configmap
22   namespace: {{ .Values.nsPrefix }}
23 data:
24 {{ tpl (.Files.Glob "resources/config/mariadb/oom_updates.sql").AsConfig . | indent 2 }}
25 #{{ end }}
26 ---
27 #{{ if not .Values.disablePortalPortalwidgets }}
28 apiVersion: v1
29 kind: ConfigMap
30 metadata:
31   name: portal-onapwidgetms-configmap
32   namespace: {{ .Values.nsPrefix }}
33 data:
34 {{ tpl (.Files.Glob "resources/config/portal-fe/webapps/etc/ONAPWIDGETMS/application.properties").AsConfig . | indent 2 }}
35 #{{ end }}