Skip to content

Commit 48e924e

Browse files
author
sungil
committed
lma-addons: add datasource for user-logging
1 parent bbb3a1e commit 48e924e

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

lma-addons/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ apiVersion: v1
22
appVersion: "1.0"
33
description: Kubernetes Resources for TACO Project
44
name: lma-addons
5-
version: 1.8.9
5+
version: 1.9.0

lma-addons/templates/grafana-dashboard/configmap-datasources.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ data:
2626
url: http://{{ .Values.grafanaDatasource.loki.url}}
2727
access: proxy
2828
{{- end }}
29+
{{- if .Values.grafanaDatasource.lokiuser.enabled }}
30+
- name: Loki-user
31+
type: loki
32+
url: http://{{ .Values.grafanaDatasource.lokiuser.url}}
33+
access: proxy
34+
{{- end }}
2935
{{- if .Values.grafanaDatasource.additionalDataSources }}
3036
{{ toYaml .Values.grafanaDatasource.additionalDataSources | indent 4}}
3137
{{- end }}
32-
{{- end }}
38+
{{- end }}

lma-addons/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ grafanaDatasource:
142142
loki:
143143
enabled: true
144144
url: "loki-loki-distributed-gateway:80"
145+
lokiuser:
146+
enabled: true
147+
url: "loki-user-loki-distributed-gateway:80"
145148

146149
kibanaInit:
147150
enabled: false

0 commit comments

Comments
 (0)