Skip to content

Commit

Permalink
set sub_filter_once on to prevent 404 on Grafana navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Oct 5, 2023
1 parent db99d11 commit 5366b60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ annotations:
catalog.cattle.io/requests-memory: 1000Mi
name: caas-project-monitoring
description: A Helm chart for Rancher Project Monitoring V3
version: 1.1.0
version: 1.2.0
appVersion: "51.0.3"
icon: https://raw.githubusercontent.com/caas-team/caas-project-monitoring/main/logo.png
keywords:
Expand Down
4 changes: 2 additions & 2 deletions templates/grafana-nginx-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ data:
proxy_pass http://localhost:3000;
sub_filter_types application/json;
sub_filter_once off;
sub_filter_once on;
sub_filter '"url":"/d' '"url":"d';
}
Expand All @@ -77,7 +77,7 @@ data:
proxy_pass http://localhost:3000/;
sub_filter_once off;
sub_filter_once on;
{{- if not (empty .Values.global.cattle.clusterId) }}
sub_filter '"appSubUrl":""' '"appSubUrl":"/k8s/clusters/{{ .Values.global.cattle.clusterId }}/api/v1/namespaces/{{ $releasenamespace }}/services/http:project-monitoring-grafana:80/proxy"';
{{- else }}
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ kube-prometheus-stack:
level: info
image:
repository: mtr.devops.telekom.de/kubeprometheusstack/grafana
tag: 9.1.5
tag: 10.1.4
namespaceOverride: ""
nameOverride: project-monitoring-grafana
rbac:
Expand Down

0 comments on commit 5366b60

Please sign in to comment.