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 c297be8 commit 04dc222
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ prometheus.remote_write {{ include "helper.alloy_name" .name | quote }} {
{{- if .auth.sigv4.roleArn }}
role_arn = {{ .auth.sigv4.roleArn | quote }}
{{- end }}
{{- if include "secrets.read" (dict "object" . "key" "auth.sigv4.secretKey") }}
{{- if eq (include "secrets.usesSecret" (dict "object" . "key" "auth.sigv4.secretKey")) "true" }}
secret_key = {{ include "secrets.read" (dict "object" . "key" "auth.sigv4.secretKey") }}
{{- end }}
}
Expand Down

0 comments on commit 04dc222

Please sign in to comment.