UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit fe6e1fce authored by Michael Martin's avatar Michael Martin
Browse files

Merge branch 'cluster-tag-external-label' into 'master'

fix cluster label section to external_label

Closes big-bang/product/packages/promtail#56

See merge request !4591
parents 7a606344 8619e314
No related branches found
No related tags found
1 merge request!4591fix cluster label section to external_label
Pipeline #3423188 passed
......@@ -45,16 +45,15 @@ imagePullSecrets:
{{- if .Values.loki.enabled }}
config:
snippets:
extraRelabelConfigs:
- action: replace
replacement: {{ $clusterName }}
target_label: cluster
clients:
{{- if eq .Values.loki.strategy "monolith" }}
- url: http://logging-loki.logging.svc.cluster.local:3100/loki/api/v1/push
external_labels:
cluster: {{ $clusterName }}
{{- else }}
- url: http://logging-loki-write.logging.svc.cluster.local:3100/loki/api/v1/push
external_labels:
cluster: {{ $clusterName }}
{{- end }}
{{- end }}
# If loki is disabled and promtail is not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment