[OOM] Fixing k8s ServiceAccounts
[oom.git] / kubernetes / sdc / components / sdc-wfd-be / templates / job.yaml
index b9abef8..fc8b8fa 100644 (file)
@@ -81,6 +81,7 @@ spec:
             valueFrom: {secretKeyRef: {name: {{ include "common.release" . }}-sdc-cs-secrets, key: sdc_password}}
         resources: {{ include "common.resources" . | nindent 10 }}
       {{ include "common.waitForJobContainer" . | indent 6 | trim }}
+      serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
         - name: {{ include "common.fullname" . }}-cqlshrc
           configMap: