1 #{{ if not .Values.disablePortalPortalapps }}
2 apiVersion: extensions/v1beta1
6 namespace: "{{ .Values.nsPrefix }}-portal"
28 fieldPath: metadata.namespace
29 image: {{ .Values.image.readiness }}
30 imagePullPolicy: {{ .Values.pullPolicy }}
31 name: portalapps-readiness
32 - command: ["/bin/bash", "-c", "if [ ! -e /portal_root/boot.txt ]; then mysql -u root -pAa123456 -h portaldb < /portal-mysql/oom_updates.sql; fi"]
34 - mountPath: /portal-mysql/oom_updates.sql
35 name: portal-mariadb-onboarding-sql
36 subPath: oom_updates.sql
37 - mountPath: /portal_root/
39 image: {{ .Values.image.mariadbClient }}
40 imagePullPolicy: {{ .Values.pullPolicy }}
41 name: provision-portaldb-users
42 - command: ["/bin/bash", "-c", "mkdir -p /ubuntu-init/ && chmod -R 777 /ubuntu-init/"]
45 mountPath: /ubuntu-init/
46 image: {{ .Values.image.ubuntuInit }}
47 imagePullPolicy: {{ .Values.pullPolicy }}
48 name: portal-app-logs-init
50 - image: {{ .Values.image.portalapps }}
51 imagePullPolicy: {{ .Values.pullPolicy }}
55 command: ["/bin/sh", "-c", "echo yes > /portal_root/boot.txt"]
58 - mountPath: /etc/localtime
61 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/fusion/conf/fusion.properties"
62 name: onap-portal-properties
63 subPath: fusion.properties
64 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/classes/openid-connect.properties"
65 name: onap-portal-properties
66 subPath: openid-connect.properties
67 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/conf/system.properties"
68 name: onap-portal-properties
69 subPath: system.properties
70 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/classes/portal.properties"
71 name: onap-portal-properties
72 subPath: portal.properties
73 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTAL/WEB-INF/classes/logback.xml"
76 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/conf/system.properties"
77 name: portal-sdkapp-properties
78 subPath: system.properties
79 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/classes/portal.properties"
80 name: portal-sdkapp-properties
81 subPath: portal.properties
82 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/fusion/conf/fusion.properties"
83 name: portal-sdkapp-properties
84 subPath: fusion.properties
85 - mountPath: "{{ .Values.onapPortal.webappsDir }}/ONAPPORTALSDK/WEB-INF/classes/logback.xml"
88 - mountPath: /portal_root/
90 - mountPath: "{{ .Values.onapPortal.webappsDir }}/logs"
92 - mountPath: /var/log/onap
101 initialDelaySeconds: 5
103 - image: {{ .Values.image.filebeat }}
104 imagePullPolicy: {{ .Values.pullPolicy }}
107 - mountPath: /usr/share/filebeat/filebeat.yml
109 subPath: filebeat.yml
110 - mountPath: /var/log/onap
112 - mountPath: /usr/share/filebeat/data
113 name: portal-data-filebeat
118 - name: filebeat-conf
120 name: portal-filebeat-configmap
123 - name: portal-data-filebeat
125 - name: onap-portal-properties
128 name: portal-onap-portal-configmap
129 - name: portal-sdkapp-properties
132 name: portal-onap-portal-sdk-configmap
133 - name: portal-logback
135 name: portal-onapportal-log-configmap
136 - name: sdkapp-logback
138 name: portal-onapportalsdk-log-configmap
139 - name: portal-mariadb-onboarding-sql
141 name: portal-mariadb-configmap
144 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal
147 path: /dockerdata-nfs/{{ .Values.nsPrefix }}/portal/logs
149 - name: "{{ .Values.nsPrefix }}-docker-registry-key"