Skip to content

Commit

Permalink
fix duplicate ServiceAccounts rendered (#13242)
Browse files Browse the repository at this point in the history
Signed-off-by: cleverhu <shouping.hu@daocloud.io>

Signed-off-by: cleverhu <shouping.hu@daocloud.io>
Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
  • Loading branch information
cleverhu and Carlos Rodríguez Hernández authored Oct 31, 2022
1 parent bfeb309 commit 1c9785f
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 1c9785f

Please sign in to comment.