aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/network-name-gen/templates/deployment.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/common/network-name-gen/templates/deployment.yaml')
-rw-r--r--kubernetes/common/network-name-gen/templates/deployment.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/kubernetes/common/network-name-gen/templates/deployment.yaml b/kubernetes/common/network-name-gen/templates/deployment.yaml
index 71b7846dc9..940132f477 100644
--- a/kubernetes/common/network-name-gen/templates/deployment.yaml
+++ b/kubernetes/common/network-name-gen/templates/deployment.yaml
@@ -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 }}