X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fportal%2Fcomponents%2Fportal-sdk%2Ftemplates%2Fdeployment.yaml;h=3b94a99286553703dcd995a8d5cc30b55053c5c4;hb=10024a30f97cdb5742dced3f260a8feab094633b;hp=abc5daab80005a1ceda69bf5b41fa6c4833a5f89;hpb=fbab601b5119796d41c9e1c01cc2d451f5da517b;p=oom.git diff --git a/kubernetes/portal/components/portal-sdk/templates/deployment.yaml b/kubernetes/portal/components/portal-sdk/templates/deployment.yaml index abc5daab80..3b94a99286 100644 --- a/kubernetes/portal/components/portal-sdk/templates/deployment.yaml +++ b/kubernetes/portal/components/portal-sdk/templates/deployment.yaml @@ -150,8 +150,7 @@ spec: mountPath: "{{ .Values.global.env.tomcatDir }}/logs" - name: var-log-onap mountPath: "{{ .Values.log.path }}" - resources: -{{ include "common.resources" . }} + resources: {{ include "common.resources" . | nindent 10 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} @@ -161,6 +160,7 @@ spec: {{ toYaml .Values.affinity | indent 10 }} {{- end }} {{ include "common.log.sidecar" . | nindent 6 }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: localtime hostPath: