Skip to content

Commit

Permalink
add header mapping for helm chart
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Jogeleit <[email protected]>
  • Loading branch information
Frank Jogeleit committed Apr 18, 2024
1 parent ea8ae54 commit b87ef5d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/policy-reporter/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ loki:
filter:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.target.loki.headers }}
headers:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.target.loki.channels }}
channels:
{{- toYaml . | nindent 4 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/policy-reporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,8 @@ target:
skipExistingOnStartup: true
# Added as additional labels to each Loki event
customLabels: {}
# Additional custom HTTP Headers
headers: {}
# HTTP BasicAuth credentials for Loki
username: ""
password: ""
Expand Down

0 comments on commit b87ef5d

Please sign in to comment.