X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fportal%2Fcomponents%2Fportal-mariadb%2Ftemplates%2Fdeployment.yaml;h=469a0b5329bb71725daa5bef1a9773a770ed5e04;hb=a7ac7f022a8d2553d637ad8bf5fe3f12b65aa76e;hp=7e94c768964b899d82ea3d92c1e7b80ab10c0c77;hpb=a6fa6b1fe4c8c9b8e2a3e29b364dc96804404a9c;p=oom.git diff --git a/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml b/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml index 7e94c76896..469a0b5329 100644 --- a/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml +++ b/kubernetes/portal/components/portal-mariadb/templates/deployment.yaml @@ -92,8 +92,7 @@ spec: - mountPath: /usr/local/bin/docker-entrypoint.sh subPath: docker-entrypoint.sh name: docker-entry - resources: -{{ include "common.resources" . | indent 12 }} + resources: {{ include "common.resources" . | nindent 12 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} @@ -102,6 +101,7 @@ spec: affinity: {{ toYaml .Values.affinity | indent 10 }} {{- end }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: {{- if .Values.persistence.enabled }} - name: mariadb-data