fix(promtail): use actual namespace on promtail
This commit is contained in:
@@ -22,7 +22,7 @@ sources:
|
|||||||
- https://grafana.com/oss/loki/
|
- https://grafana.com/oss/loki/
|
||||||
- https://grafana.com/docs/loki/latest/
|
- https://grafana.com/docs/loki/latest/
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
- metrics
|
- metrics
|
||||||
|
|||||||
@@ -262,7 +262,7 @@ config:
|
|||||||
http_listen_port: {{ .Values.config.serverPort }}
|
http_listen_port: {{ .Values.config.serverPort }}
|
||||||
|
|
||||||
client:
|
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 }}
|
{{- tpl .Values.config.snippets.extraClientConfigs . | nindent 2 }}
|
||||||
|
|
||||||
positions:
|
positions:
|
||||||
|
|||||||
Reference in New Issue
Block a user