[COMMON] Fix resources indent
[oom.git] / kubernetes / contrib / components / netbox / components / netbox-app / templates / deployment.yaml
index f1209cd..04abfc2 100755 (executable)
@@ -128,8 +128,7 @@ spec:
           name: {{ include "common.fullname" . }}-configuration-config
         - name: {{ include "common.fullname" . }}
           mountPath: /opt/netbox/netbox/static
-        resources:
-{{ include "common.resources" . | indent 12 }}
+        resources: {{ include "common.resources" . | nindent 10 }}
       {{- if .Values.nodeSelector }}
       nodeSelector:
 {{ toYaml .Values.nodeSelector | indent 10 }}
@@ -138,6 +137,7 @@ spec:
       affinity:
 {{ toYaml .Values.affinity | indent 10 }}
       {{- end }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
         - name: localtime
           hostPath: