Skip to content

Commit

Permalink
Merge pull request #3302 from cwrau/fix/dont-automount-default-servic…
Browse files Browse the repository at this point in the history
…eaccount

[grafana] fix: don't automount default serviceAccount
  • Loading branch information
zanhsieh authored Dec 15, 2024
2 parents 4700b4f + 7931317 commit f1287fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/grafana/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: grafana
version: 8.7.0
version: 8.7.1
appVersion: 11.4.0
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
Expand Down
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: {{ .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 @@ -1357,6 +1357,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 f1287fb

Please sign in to comment.