File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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" }}
You can’t perform that action at this time.
0 commit comments