Merge "[COMMON] Add monitoring to postgres"
[oom.git] / kubernetes / portal / components / portal-widget / templates / deployment.yaml
index 2462576..f0ea980 100644 (file)
@@ -115,8 +115,7 @@ spec:
         - name: properties-onapwidgetms
           mountPath: "/application.yml"
           subPath: application.yml
-        resources:
-{{ include "common.resources" . | indent 12 }}
+        resources: {{ include "common.resources" . | nindent 10 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
@@ -125,6 +124,7 @@ spec:
       affinity:
 {{ toYaml .Values.affinity | indent 10 }}
       {{- end }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
         - name: localtime
           hostPath: