Skip to content

Commit

Permalink
fix duplicate ServiceAccounts rendered (bitnami#13242)
Browse files Browse the repository at this point in the history
Signed-off-by: cleverhu <[email protected]>

Signed-off-by: cleverhu <[email protected]>
Signed-off-by: Carlos Rodríguez Hernández <[email protected]>
Co-authored-by: Carlos Rodríguez Hernández <[email protected]>
  • Loading branch information
2 people authored and Chris Lavery committed Nov 6, 2022
1 parent b49e598 commit eaa556f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitnami/grafana-loki/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ name: grafana-loki
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/grafana-loki
- https://github.com/grafana/loki/
version: 2.4.7
version: 2.4.8
2 changes: 1 addition & 1 deletion bitnami/grafana-loki/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Create the name of the service account to use
*/}}
{{- define "grafana-loki.promtail.serviceAccountName" -}}
{{- if .Values.promtail.serviceAccount.create -}}
{{ default (printf "%s" (include "common.names.fullname" .)) .Values.promtail.serviceAccount.name }}
{{ default (printf "%s" (include "grafana-loki.promtail.fullname" .)) .Values.promtail.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.promtail.serviceAccount.name }}
{{- end -}}
Expand Down

0 comments on commit eaa556f

Please sign in to comment.