X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=kubernetes%2Fcontrib%2Fcomponents%2Fawx%2Fcomponents%2Fawx-postgres%2Ftemplates%2Fdeployment.yaml;h=61c0457712e0f4fbd43477f31eeb911337ed5977;hb=a7ac7f022a8d2553d637ad8bf5fe3f12b65aa76e;hp=c0c6b914fbfe6805fd51221c2da67171855befed;hpb=cfe8a79535c8972179638be2ed8bbc00210dd5dc;p=oom.git diff --git a/kubernetes/contrib/components/awx/components/awx-postgres/templates/deployment.yaml b/kubernetes/contrib/components/awx/components/awx-postgres/templates/deployment.yaml index c0c6b914fb..61c0457712 100755 --- a/kubernetes/contrib/components/awx/components/awx-postgres/templates/deployment.yaml +++ b/kubernetes/contrib/components/awx/components/awx-postgres/templates/deployment.yaml @@ -64,8 +64,7 @@ spec: readOnly: true - name: {{ include "common.fullname" . }}-data mountPath: /var/lib/postgresql/ - resources: -{{ include "common.resources" . | indent 12 }} + resources: {{ include "common.resources" . | nindent 10 }} {{- if .Values.nodeSelector }} nodeSelector: {{ toYaml .Values.nodeSelector | indent 10 }} @@ -74,6 +73,7 @@ spec: affinity: {{ toYaml .Values.affinity | indent 10 }} {{- end }} + serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - name: localtime hostPath: