fix(promtail): use actual namespace on promtail

This commit is contained in:
kjeld Schouten-Lebbing
2021-11-24 18:37:14 +01:00
parent 76e2097bab
commit 82a97e930e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ sources:
- https://grafana.com/oss/loki/
- https://grafana.com/docs/loki/latest/
type: application
version: 0.0.1
version: 0.0.2
annotations:
truecharts.org/catagories: |
- metrics
+1 -1
View File
@@ -262,7 +262,7 @@ config:
http_listen_port: {{ .Values.config.serverPort }}
client:
url: {{ .Values.config.lokiAddress | default ( printf "http://%v.ix-%v.svc.cluster.local:3100/loki/api/v1/push" .Release.Name .Release.Name ) }}
url: {{ .Values.config.lokiAddress | default ( printf "http://%v.ix-%v.svc.cluster.local:3100/loki/api/v1/push" .Release.Name Release.Namespace ) }}
{{- tpl .Values.config.snippets.extraClientConfigs . | nindent 2 }}
positions: