Skip to content

Commit

Permalink
fix: don't automount default serviceAccount
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Werner Rau <cwrau@cwrau.info>
  • Loading branch information
cwrau committed Sep 9, 2024
1 parent bc8f4a1 commit 8f2f9d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions charts/grafana/templates/image-renderer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
{{- with .Values.imageRenderer.serviceAccountName }}
serviceAccountName: "{{ . }}"
{{- end }}
automountServiceAccountToken: {{ not (empty .Values.imageRenderer.serviceAccountName) }}
{{- with .Values.imageRenderer.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
Expand Down

0 comments on commit 8f2f9d2

Please sign in to comment.