Skip to content

Commit 0101b90

Browse files
authored
change ingress output in notes.txt
here a fix for the issue : #88 the new output look like this ```` To access the dashboards, form the Grafana URL and open it in the browser http://default.dynamic.cluster114.local/grafana ````
1 parent 1d90740 commit 0101b90

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

deploy/charts/templates/NOTES.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@ To access the dashboards, form the Grafana URL and open it in the browser
99
{{- if (index $.Values "kube-prometheus-stack" "install") }}
1010
{{- if (index $.Values "kube-prometheus-stack" "grafana" "ingress" "enabled") }}
1111
{{- range $host := (index $.Values "kube-prometheus-stack" "grafana" "ingress" "hosts") }}
12-
{{- range .paths }}
13-
http{{ if (index $.Values "kube-prometheus-stack" "grafana" "ingress" "tls") }}s{{ end }}://{{ $host.host }}{{ . }}
14-
{{- end }}
12+
http{{ if (index $.Values "kube-prometheus-stack" "grafana" "ingress" "tls") }}s{{ end }}://{{ $host }}{{ regexReplaceAll "\\(.*\\)" (index $.Values "kube-prometheus-stack" "grafana" "ingress" "path") "" }}
1513
{{- end }}
1614
{{- else if contains "NodePort" (index $.Values "kube-prometheus-stack" "grafana" "service" "type") }}
1715
export NODE_PORT={{ index $.Values "kube-prometheus-stack" "grafana" "service" "nodePort" }}

0 commit comments

Comments
 (0)