Skip to content

Commit

Permalink
chore: make automountServiceAccountToken configurable
Browse files Browse the repository at this point in the history
this doesn't make sense, but as per request by #3302 (comment), it has to be done

Signed-off-by: Chris Werner Rau <cwrau@cwrau.info>
  • Loading branch information
cwrau committed Sep 18, 2024
1 parent bcb8073 commit 93f5900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/grafana/templates/image-renderer-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ spec:
{{- with .Values.imageRenderer.serviceAccountName }}
serviceAccountName: "{{ . }}"
{{- end }}
automountServiceAccountToken: {{ not (empty .Values.imageRenderer.serviceAccountName) }}
automountServiceAccountToken: {{ .Values.imageRenderer.automountServiceAccountToken }}
{{- with .Values.imageRenderer.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
Expand Down
1 change: 1 addition & 0 deletions charts/grafana/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1198,6 +1198,7 @@ imageRenderer:

# image-renderer deployment serviceAccount
serviceAccountName: ""
automountServiceAccountToken: false
# image-renderer deployment securityContext
securityContext: {}
# image-renderer deployment container securityContext
Expand Down

0 comments on commit 93f5900

Please sign in to comment.