Skip to content

Commit e89fe1b

Browse files
authored
Merge pull request #89 from openebs/fix-issue-88
change ingress output in notes.txt
2 parents 1d90740 + 0101b90 commit e89fe1b

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)