[COMMON] Fix resources indent
[oom.git] / kubernetes / cds / components / cds-ui / templates / deployment.yaml
index 359c713..637347b 100644 (file)
@@ -89,8 +89,7 @@ spec:
             - mountPath: /etc/localtime
               name: localtime
               readOnly: true
-          resources:
-{{ include "common.resources" . | indent 12 }}
+          resources: {{ include "common.resources" . | nindent 12 }}
         {{- if .Values.nodeSelector }}
         nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
@@ -99,6 +98,7 @@ spec:
         affinity:
 {{ toYaml .Values.affinity | indent 10 }}
         {{- end }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes: {{ include "common.certInitializer.volumes" . | nindent 8 }}
         - name: localtime
           hostPath: