Skip to content

Commit

Permalink
fix(kiali): enable support for mimir
Browse files Browse the repository at this point in the history
Signed-off-by: David van der Spek <[email protected]>
  • Loading branch information
davidspek committed Sep 12, 2023
1 parent f0986f9 commit 44c7006
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions kiali/helm/kiali/values.yaml.tpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{- $monitoringNamespace := namespace "monitoring" -}}
{{- $mimir := and .Configuration .Configuration.mimir }}

global:
application:
Expand Down Expand Up @@ -33,7 +34,13 @@ kiali-server:
is_proxy: true
namespace: {{ namespace "istio-ingress" }}
prometheus:
{{- if $mimir }}
url: http://mimir-nginx.mimir/prometheus
custom_headers:
X-Scope-OrgID: {{ .Cluster }}
{{- else }}
url: http://monitoring-prometheus.{{ $monitoringNamespace }}:9090
{{- end }}
{{- if .Configuration.grafana }}
{{ $grafanaValues := .Applications.HelmValues "grafana" }}
{{ $grafanaNamespace := namespace "grafana" }}
Expand Down

0 comments on commit 44c7006

Please sign in to comment.