[OOM] Fixing k8s ServiceAccounts
[oom.git] / kubernetes / common / network-name-gen / templates / deployment.yaml
index 71b7846..940132f 100644 (file)
@@ -102,6 +102,7 @@ spec:
 {{ toYaml .Values.nodeSelector | indent 10 }}
         {{- end -}}
         {{- if .Values.affinity }}
+        serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
         affinity:
 {{ toYaml .Values.affinity | indent 10 }}
         {{- end }}