Skip to content

Commit

Permalink
Update charts/k8s-monitoring/templates/destinations/_destination_prom…
Browse files Browse the repository at this point in the history
…etheus.tpl

Co-authored-by: Pete Wall <[email protected]>
  • Loading branch information
law and petewall authored Jan 15, 2025
1 parent 4ba6fb2 commit c297be8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ prometheus.remote_write {{ include "helper.alloy_name" .name | quote }} {
}
{{- else if eq (include "secrets.authType" .) "sigv4" }}
sigv4 {
{{- if include "secrets.read" (dict "object" . "key" "auth.sigv4.accessKey" "nonsensitive" true) }}
{{- if eq (include "secrets.usesSecret" (dict "object" . "key" "auth.sigv4.accessKey")) "true" }}
access_key = {{ include "secrets.read" (dict "object" . "key" "auth.sigv4.accessKey" "nonsensitive" true) }}
{{- end }}
{{- if .auth.sigv4.profile }}
Expand Down

0 comments on commit c297be8

Please sign in to comment.